27 lines
609 B
YAML
27 lines
609 B
YAML
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
|