From 8f0a4b9f36046b41a66db599e4e925386c48d049 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 1 Aug 2025 21:18:16 +0200 Subject: Add a build action --- .gitea/workflows/test.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/test.yaml (limited to '.gitea/workflows') diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..f4cc879 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,26 @@ +name: Test + +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-is-really-ninja boost-dev + - uses: actions/checkout@v4 + - name: Build + run: | + # Building the TUI fails with an internal compiler error with GCC 14.2. + cmake -B build -G Ninja -DKATJA_BUILD_TUI=Off + ninja -C build + - name: Run tests + run: ninja -C build test -- cgit v1.2.3