ci: Work around macOS GitHub runner pip install failures. (#7110)
This commit is contained in:
parent
89d5d4a2b6
commit
b5d744bcae
|
@ -1,5 +1,10 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
# TODO: Work around pip install issues with Python 3.12 in the GitHub runner image.
|
||||
# See: https://github.com/actions/runner-images/issues/8709
|
||||
PYTHON_PATH=$(brew --prefix python@3.11)
|
||||
export PATH=$PYTHON_PATH/bin:$PYTHON_PATH/libexec/bin:$PATH
|
||||
|
||||
mkdir build && cd build
|
||||
cmake .. -GNinja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
# TODO: Work around pip install issues with Python 3.12 in the GitHub runner image.
|
||||
# See: https://github.com/actions/runner-images/issues/8709
|
||||
PYTHON_PATH=$(brew --prefix python@3.11)
|
||||
export PATH=$PYTHON_PATH/bin:$PYTHON_PATH/libexec/bin:$PATH
|
||||
|
||||
mkdir build && cd build
|
||||
cmake .. -GNinja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
|
|
Reference in New Issue