| 1 | name: CMake |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | |
| 5 | jobs: |
| 6 | build: |
| 7 | runs-on: ${{ matrix.os }} |
| 8 | strategy: |
| 9 | matrix: |
| 10 | os: [macos-latest, ubuntu-latest, windows-latest] |
| 11 | |
| 12 | steps: |
| 13 | - uses: actions/checkout@v6 |
| 14 | |
| 15 | - name: Configure CMake |
| 16 | run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release |
| 17 | |
| 18 | - name: Build |
| 19 | run: cmake --build ${{github.workspace}}/build --config Release |