psemek/.forgejo/workflows/run-tests.yml
lisyarus ae9a706189
Some checks failed
Run tests / test (push) Failing after 7m3s
Set up test runner workflow
2026-07-03 14:55:23 +03:00

31 lines
619 B
YAML

name: Run tests
on:
push:
branches:
- master
jobs:
test:
runs-on: docker
container:
image: lisyarus/psemek:test-runner
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure
run: |
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DPSEMEK_BUILD_TESTS=ON -DCMAKE_PREFIX_PATH="/home/sdl2/install"
- name: Build
run: |
cd build
cmake --build . -j4
- name: Run tests
run: |
./build/tools/test/psemek-run-tests