Skip to content

Commit afce80d

Browse files
authored
Update ci.yml
1 parent 01f4461 commit afce80d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,14 @@ jobs:
5353
vcpkg install jsoncpp gtest
5454
5555
- name: Configure CMake
56+
if: runner.os != 'macOS'
5657
run: |
5758
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
59+
60+
- name: Configure CMake (macOS)
61+
if: runner.os == 'macOS'
62+
run: |
63+
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake ${{ matrix.cmake_args }}
5864
5965
- name: Build
6066
run: cmake --build build --config ${{ matrix.build_type }}

0 commit comments

Comments
 (0)