Skip to content

Commit 0d37d7d

Browse files
committed
Fix installing cmake in downstream-tests on Mac OS
1 parent 7a78803 commit 0d37d7d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/downstream-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ jobs:
3434
3535
- name: Install CMake (Darwin)
3636
if: ${{ matrix.os.platform == 'darwin' && matrix.name == 'pybind11' }}
37-
run: brew install cmake
37+
run: |
38+
if brew list cmake >/dev/null 2>&1; then
39+
echo "cmake already installed"
40+
else
41+
brew install cmake
42+
fi
3843
3944
- name: Install Rust toolchain
4045
if: ${{ matrix.name == 'pyo3' || matrix.name == 'pydantic-core' || matrix.name == 'jiter' }}

0 commit comments

Comments
 (0)