| 1 |
name: CI |
| 2 |
|
| 3 |
on: [push] |
| 4 |
|
| 5 |
jobs: |
| 6 |
build_frozen: |
| 7 |
runs-on: macOS-latest |
| 8 |
strategy: |
| 9 |
fail-fast: false |
| 10 |
matrix: |
| 11 |
cmake_args: |
| 12 |
- "" |
| 13 |
cxxstandard: |
| 14 |
- 14 |
| 15 |
- 17 |
| 16 |
- 2a |
| 17 |
steps: |
| 18 |
- name: Checkout |
| 19 |
uses: actions/checkout@v4 |
| 20 |
|
| 21 |
- name: Prepare |
| 22 |
run: cmake -E make_directory build |
| 23 |
|
| 24 |
- name: Configure |
| 25 |
working-directory: build |
| 26 |
env: |
| 27 |
CXXFLAGS: -std=c++${{matrix.cxxstandard}} |
| 28 |
run: cmake -DCMAKE_BUILD_TYPE=DEBUG "-Dfrozen.coverage=ON" -DCMAKE_VERBOSE_MAKEFILE=ON .. |
| 29 |
|
| 30 |
- name: Build |
| 31 |
working-directory: build |
| 32 |
run: cmake --build . |
| 33 |
|
| 34 |
- name: Test |
| 35 |
working-directory: build |
| 36 |
run: cmake --build . --target test |