Files
nob/.gitea/workflows/build.yml
T
noselasd 9e46ae82aa
build / smoketest (pull_request) Failing after 20s
build / smoketest (push) Failing after 10s
Update action
2026-09-25 19:59:07 +02:00

23 lines
628 B
YAML

name: build
on:
push:
pull_request:
jobs:
smoketest:
runs-on: x86_64
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Build container image
run: podman build --load -t nob-build -f .gitea/Dockerfile .
- name: Build project
run: podman run --interactive=false --rm -v "$PWD":/workspace -w /workspace nob-build ./build.sh
CONTAINER_ID=$(docker run --rm -v "$PWD":/workspace -w /workspace nob-build ./build.sh)
- name: Run smoketest binary
run: podman run --interactive=false --rm -v "$PWD":/workspace -w /workspace nob-build ./a.out