psemek/.forgejo/workflows/run-tests.yml
lisyarus 6403b82fb4
Some checks failed
Run tests / test (push) Failing after 9m19s
Set up test runner workflow
2026-07-03 14:44:56 +03:00

31 lines
614 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 . -j 2
- name: Run tests
run: |
./tools/test/psemek-run-tests