Skip to content

Commit 0a2b0fc

Browse files
committed
Additional work around for issues with cmake
Signed-off-by: Ian <[email protected]>
1 parent 2ea2673 commit 0a2b0fc

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci-macos.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,11 @@ jobs:
8989
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
9090

9191
- name: Install Ninja
92-
run: brew install cmake ninja # /usr/local/bin/ninja
93-
94-
- name: Where is Ninja
95-
run: |
96-
which ninja
97-
ninja --version
92+
run: brew install ninja
93+
# Actual: /usr/local/bin/ninja
94+
# Searched: /opt/homebrew/bin/ninja
95+
- name: Symbolic link Ninja # Workaround for CMake not checking the right area for Ninja
96+
run: ln -s /opt/homebrew/bin/ninja /usr/local/bin/ninja
9897

9998
- name: Configure
10099
run: cmake --preset="${{ matrix.configurePreset }}" -DCMAKE_CXX_STANDARD="${{ matrix.cxx_version }}"

0 commit comments

Comments
 (0)