Fix floating point tests on Apple Silicon #32
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: Main CI | |
| on: | |
| push: | |
| branches: [main, fix/*] | |
| jobs: | |
| linux: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| image: | |
| - "gcc:7" | |
| - "gcc:8" | |
| - "gcc:9" | |
| - "gcc:10" | |
| - "gcc:11" | |
| - "gcc:12" | |
| - "gcc:13" | |
| - "gcc:14" | |
| - "clang:6" | |
| - "clang:7" | |
| - "clang:8" | |
| - "clang:9" | |
| - "clang:10" | |
| - "clang:11" | |
| - "clang:12" | |
| - "clang:13" | |
| - "clang:14" | |
| - "clang:15" | |
| - "clang:16" | |
| - "clang:17" | |
| - "clang:18" | |
| build_type: [Debug, Release] | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/foonathan/${{matrix.image}} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Create Build Environment | |
| run: cmake -E make_directory build | |
| - name: Configure | |
| working-directory: build/ | |
| run: cmake -GNinja $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.build_type}} | |
| - name: Build | |
| working-directory: build/ | |
| run: cmake --build . | |
| - name: Test | |
| working-directory: build/ | |
| run: ctest --output-on-failure | |
| macos: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| xcode: ['15', '16'] | |
| build_type: [Debug, Release] | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: ${{matrix.xcode}} | |
| - name: Create Build Environment | |
| run: cmake -E make_directory build | |
| - name: Install ninja | |
| run: brew install ninja | |
| - name: Configure | |
| working-directory: build/ | |
| run: cmake -GNinja $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.build_type}} | |
| - name: Build | |
| working-directory: build/ | |
| run: cmake --build . | |
| - name: Test | |
| working-directory: build/ | |
| run: ctest --output-on-failure | |
| windows: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| toolset: ['v142', 'v143', 'ClangCL'] | |
| build_type: [Debug, Release] | |
| arch: [Win32, x64] | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Create Build Environment | |
| run: cmake -E make_directory build | |
| - name: Configure | |
| shell: bash | |
| working-directory: build/ | |
| run: cmake $GITHUB_WORKSPACE -G"Visual Studio 17 2022" -T ${{matrix.toolset}} -A ${{matrix.arch}} | |
| - name: Build | |
| working-directory: build/ | |
| run: cmake --build . --config ${{matrix.build_type}} -j 2 | |
| - name: Test | |
| working-directory: build/ | |
| run: ctest -C ${{matrix.build_type}} --output-on-failure | |