From c51fb7502d7b4044dfdab11632f98698af0d9616 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 1 Aug 2025 21:18:16 +0200 Subject: [PATCH] Add a build action --- .gitea/workflows/build.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..64e3e94 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,23 @@ +name: Build + +on: + push: + branches: + - '**' + pull_request: + branches: [master] + +jobs: + build: + runs-on: alpine + steps: + - name: Set up environment + shell: ash {0} + run: | + apk -U upgrade + apk add --no-cache git bash cmake build-base ninja + - uses: actions/checkout@v4 + - name: Build + run: | + cmake -B build -G Ninja + ninja -C build