diff --git a/.ci/ios.sh b/.ci/ios.sh index 92e1776c8..8a0d23497 100755 --- a/.ci/ios.sh +++ b/.ci/ios.sh @@ -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 \ diff --git a/.ci/macos.sh b/.ci/macos.sh index c4e2a284b..99a348730 100755 --- a/.ci/macos.sh +++ b/.ci/macos.sh @@ -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 \