diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 629d4d754fdb6..045f8abe9d77e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: jobs: build: strategy: - fail-fast: true + fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] build_type: [Release] @@ -39,6 +39,7 @@ jobs: run: git submodule update --init --recursive - name: Configure CMake + if: ${{ matrix.os_family == 'linux' || matrix.os_family == 'windows' }} run: > cmake -B ${{ github.workspace }}/build -G "Unix Makefiles" @@ -48,6 +49,14 @@ jobs: -DCMAKE_CXX_STANDARD=14 -DCMAKE_BUILD_TYPE=Release + - name: Configure CMake + if: ${{ matrix.os_family == 'osx' }} + run: > + cmake -B ${{ github.workspace }}/build + -G "Unix Makefiles" + -DCMAKE_CXX_STANDARD=14 + -DCMAKE_BUILD_TYPE=Release + - name: Build run: cmake --build ${{ github.workspace }}/build