Add smoke test build
build / smoketest (push) Failing after 30s

This commit is contained in:
2026-09-15 18:36:09 +02:00
parent 1a6b7e05f0
commit 66da5acdc9
2 changed files with 24 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
FROM gcc:latest
WORKDIR /workspace
+21
View File
@@ -0,0 +1,21 @@
name: build
on:
push:
pull_request:
jobs:
smoketest:
runs-on: x86_64
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Build container image
run: docker build -t nob-build -f .gitea/Dockerfile .
- name: Build project
run: docker run --rm -v "$PWD":/workspace -w /workspace nob-build ./build.sh
- name: Run smoketest binary
run: docker run --rm -v "$PWD":/workspace -w /workspace nob-build ./a.out