Skip to content

Commit

Permalink
pin python version macos
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenscholl committed Apr 10, 2021
1 parent 289a306 commit f4f2cdc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/python-publish-test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,21 @@ jobs:
xcodebuild -sdk -version
if: matrix.os == 'macos-10.15'

########################################################################################################################

- name: "[MacOS | Python 3.7] Install boost"
run: |
wget https://dl.bintray.com/boostorg/release/1.73.0/source/boost_1_73_0.tar.gz > /dev/null 2>&1
tar -xzf boost_1_*
cd boost_1_*
./bootstrap.sh
cat project-config.jam
echo "using gcc ;" > project-config.jam && echo "project : default-build <toolset>gcc ;" >> project-config.jam && echo "import python ;" >> project-config.jam
echo "using python : 3.7 : /Users/runner/hostedtoolcache/Python/3.7.10/x64/bin/python : /Users/runner/hostedtoolcache/Python/3.7.10/x64/include/python3.7m/ : /Users/runner/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/ ;" >> project-config.jam
./b2 cxxflags=-std=c++17 install -j 8 --without-context --without-coroutine --without-fiber --without-thread
cp -r bin.v2 /Users/runner/work/ESL/ESL/
if: matrix.os == 'macos-10.15' && matrix.python_minor_version == 8

########################################################################################################################

- name: "[MacOS | Python 3.8] Install boost"
Expand Down

0 comments on commit f4f2cdc

Please sign in to comment.