Files
nob/.gitea/workflows/build.yml
T
noselasd 9df2c60cd0
build / smoketest (push) Failing after 8s
One last try
2026-09-15 19:16:45 +02:00

24 lines
685 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: docker build --load -t nob-build -f .gitea/Dockerfile .
- name: Build project
run: docker run --interactive=false --rm -v "$PWD":/workspace -w /workspace nob-build ./build.sh
CONTAINER_ID=$(docker run --detach --rm -v "$PWD":/workspace -w /workspace nob-build ./build.sh)
docker logs --follow $CONTAINER_ID
- name: Run smoketest binary
run: podman run --interactive=false --rm -v "$PWD":/workspace -w /workspace nob-build ./a.out