Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
qinghui-xu authored Sep 16, 2024
1 parent 2d347c5 commit cffd784
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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"
Expand All @@ -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

Expand Down

0 comments on commit cffd784

Please sign in to comment.