diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-08-01 21:18:16 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-08-01 22:09:26 +0200 |
| commit | 8f0a4b9f36046b41a66db599e4e925386c48d049 (patch) | |
| tree | faeec5e7d7eb9b6f60230271a138d6b55fc5c548 /.gitea/workflows | |
| parent | 96817ee672d509f867b2e9f5608ee3beaf7ff91e (diff) | |
| download | katja-8f0a4b9f36046b41a66db599e4e925386c48d049.tar.gz | |
Add a build action
Diffstat (limited to '.gitea/workflows')
| -rw-r--r-- | .gitea/workflows/test.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
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 |
