Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: tests

on:
push:
branches: [master]
pull_request:

# Cancel in-progress runs for the same PR / branch when a new commit lands.
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true

jobs:
tests:
name: tests (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure
run: cmake -S tests -B tests/build

- name: Build
run: cmake --build tests/build --config Release

- name: Run tests
run: ctest --test-dir tests/build --output-on-failure --build-config Release
Loading