Skip to content

Commit

Permalink
Splitting up args
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Feb 26, 2024
1 parent 669b39f commit 64877d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- os: ubuntu-22.04
cmake_args: "-DCMAKE_CXX_COMPILER=g++-11"
- os: windows-2022
cmake_args: -G"Ninja Multi-Config" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
cmake_gan: -G"Ninja Multi-Config"
cmake_args: -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
- os: macos-13
cmake_args: "-DCMAKE_BUILD_TYPE=Release"

Expand Down Expand Up @@ -83,10 +84,9 @@ jobs:

- name: Configure
env:
CMAKE_ARGS: ${{ matrix.cmake_args }}
CONFIGURE_ADD_ONS_FLAG: "${{ github.event_name != 'pull_request' && '-DBYOD_BUILD_ADD_ON_MODULES=ON' || '' }}"
shell: bash
run: cmake -Bbuild $CONFIGURE_ADD_ONS_FLAG ${CMAKE_ARGS}
run: cmake -Bbuild $CONFIGURE_ADD_ONS_FLAG ${{ matrix.cmake_args }} ${{ matrix.cmake_gen }}

- name: Build
shell: bash
Expand Down

0 comments on commit 64877d8

Please sign in to comment.