Skip to content
Merged
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
32 changes: 32 additions & 0 deletions .github/workflows/test-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test C++

on:
push:
branches:
- main
paths:
- 'cpp/**'
pull_request:
branches:
- main
paths:
- 'cpp/**'
merge_group:
types:
- checks_requested

jobs:
test-cpp:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure CMake
run: cmake -S cpp -B cpp/build -DCMAKE_BUILD_TYPE=Release

- name: Build
run: cmake --build cpp/build --parallel

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