Integrate with Mull for mutation testing #2250
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test-macos | |
| on: | |
| push: | |
| branches: [master, stable-*] | |
| pull_request: | |
| branches: [master, stable-*] | |
| jobs: | |
| tests: | |
| name: ${{ matrix.build_type }} on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-14, macos-15, macos-latest] | |
| build_type: ["Debug", "Release"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Configure build | |
| run: cmake -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.build_type}} -DWARNINGS_AS_ERRORS=ON . | |
| - name: Build | |
| working-directory: build | |
| run: make | |
| - name: binding-functions | |
| working-directory: build | |
| run: | | |
| make binding-functions | |
| test -s binding-functions | |
| - name: Tests | |
| working-directory: build | |
| run: | | |
| make test | |
| sudo make install | |
| - name: Examples | |
| run: | | |
| mkdir build/examples | |
| cd build/examples | |
| cmake -DCMAKE_BUILD_TYPE=${{ matrix.build_type}} ../../examples | |
| make | |
| make test |