From 17f37e85adc02ec75f22dd66123a7e70bd4f39f5 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Fri, 3 Jan 2025 12:52:20 +0100 Subject: [PATCH] Add build.yml Forgejo workflow --- .forgejo/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .forgejo/workflows/build.yml diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 000000000..61946ca41 --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,16 @@ +on: [pull_request] +jobs: + build: + runs-on: docker + container: + image: forge.a-lec.org/speed-dreams/debian-sd:stable + steps: + - run: | + git clone \ + -b ${{ env.GITHUB_HEAD_REF }} \ + --depth 1 \ + ${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}.git \ + src + cd src/ + cmake -B build -DSD_ASSUME_DATADIR=1 + cmake --build build -j$(nproc --all)