Skip to content

Commit 040cd23

Browse files
authored
chore: add macos dependency installation (#5233)
* python (3.13) and cmake (latest)
1 parent 0324764 commit 040cd23

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/macos.yml

+15
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,21 @@ jobs:
4141
- name: install Ninja
4242
if: matrix.generator == 'Ninja'
4343
run: brew install ninja
44+
- name: install python
45+
run: |
46+
if which python > /dev/null 2>&1; then
47+
echo "Python executable exists"
48+
else
49+
brew install [email protected]
50+
ln -s /opt/homebrew/bin/python3 /opt/homebrew/bin/python
51+
fi
52+
- name: install cmake
53+
run: |
54+
if which cmake > /dev/null 2>&1; then
55+
echo "cmake executable exists"
56+
else
57+
brew install cmake
58+
fi
4459
- name: check environment
4560
run: |
4661
env | sort

0 commit comments

Comments
 (0)