Skip to content

Commit 1fad519

Browse files
use python version 3.13 globally (#1435)
1 parent 9a9b0eb commit 1fad519

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/macos.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,17 @@ jobs:
4040
brew update
4141
brew install python@3.13 re2c coreutils libiconv googletest shivammathur/php/php@7.4
4242
brew link --overwrite --force shivammathur/php/php@7.4
43+
brew link --overwrite --force python@3.13
4344
/opt/homebrew/opt/python@3.13/libexec/bin/python -m pip install --upgrade pip --user --break-system-packages && /opt/homebrew/opt/python@3.13/libexec/bin/pip install --break-system-packages jsonschema six cmake==3.31.6
4445
4546
- name: Run cmake
46-
run: cmake -DCMAKE_CXX_COMPILER=${{matrix.compiler}} -DCMAKE_CXX_STANDARD=${{matrix.cpp}} -DDOWNLOAD_MISSING_LIBRARIES=On -S $GITHUB_WORKSPACE -B ${{runner.workspace}}/build
47+
run: |
48+
cmake -DCMAKE_CXX_COMPILER=${{matrix.compiler}} \
49+
-DCMAKE_CXX_STANDARD=${{matrix.cpp}} \
50+
-DDOWNLOAD_MISSING_LIBRARIES=On \
51+
-DPython3_EXECUTABLE=/opt/homebrew/opt/python@3.13/libexec/bin/python \
52+
-S $GITHUB_WORKSPACE \
53+
-B ${{runner.workspace}}/build
4754
4855
- name: Build all
4956
run: make -C ${{runner.workspace}}/build -j$(nproc) all

0 commit comments

Comments
 (0)