Skip to content

Commit 45be3cb

Browse files
committed
Install boost-python via brew
1 parent 50859a8 commit 45be3cb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci_workflow.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ jobs:
221221
run: |
222222
# Confirm the python module loads. Query the site-packages directory and substitute ../_install
223223
export PYTHONPATH=`python -c "import site; print('../_install%s' % site.USER_SITE[len(site.USER_BASE):])"`
224-
export PYTHONPATH=$PYTHONPATH:$PWD/../_install/lib/python*/site-packages
224+
export PYTHONPATH=$PYTHONPATH:$PWD/../_install/lib*/python*/site-packages
225+
echo $PYTHONPATH
225226
python -c "import imath;print(imath.__version__)"
226227
# Make sure we can build the tests when configured as a
227228
# standalone application linking against the just-installed
@@ -345,7 +346,8 @@ jobs:
345346
mkdir _examples
346347
- name: Install Dependences
347348
run: |
348-
brew --display-times -q install python
349+
brew list --version
350+
brew install --display-times -q boost-python3
349351
## share/ci/scripts/macos/install_boost.sh
350352
## shell: bash
351353
- name: Configure
@@ -370,6 +372,8 @@ jobs:
370372
run: |
371373
# Confirm the python module loads. Query the site-packages directory and substitute ../_install
372374
export PYTHONPATH=`python -c "import site; print('../_install%s' % site.USER_SITE[len(site.USER_BASE):])"`
375+
export PYTHONPATH=$PYTHONPATH:$PWD/../_install/lib/python*/site-packages
376+
echo $PYTHONPATH
373377
python -c "import imath;print(imath.__version__)"
374378
# Make sure we can build the tests when configured as a
375379
# standalone application linking against the just-installed
@@ -526,7 +530,7 @@ jobs:
526530
shell: bash
527531
- name: Install Dependencies
528532
run: |
529-
time vcpkg install boost-thread:x64-windows
533+
vcpkg install boost-python:x64-windows
530534
# share/ci/scripts/windows/install_python.ps1 ${{ matrix.python-version }} $HOME
531535
# share/ci/scripts/windows/install_boost.ps1 ${{ matrix.boost-version }} $HOME 3.8
532536
# shell: powershell

0 commit comments

Comments
 (0)