Skip to content

Commit 3816b67

Browse files
committed
debug python env on MacOS (2)
1 parent b5de9fe commit 3816b67

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/macos.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@ jobs:
4343
python-version: '3.7'
4444

4545
- name: Install requirements
46+
shell: bash
4647
run: |
4748
brew install eigen boost
4849
brew install ccache ninja
49-
brew list | grep python
50-
brew unlink [email protected]
51-
brew unlink [email protected]
50+
brew list | grep python | while read package; do
51+
brew unlink $package
52+
done
5253
echo "python -V" && python -V
5354
echo "python3 -V" && python3 -V
5455
python3 -m pip install numpy scipy
@@ -157,8 +158,14 @@ jobs:
157158
python-version: '3.7'
158159

159160
- name: Install requirements
161+
shell: bash
160162
run: |
161163
brew install boost
164+
brew list | grep python | while read package; do
165+
brew unlink $package
166+
done
167+
echo "python -V" && python -V
168+
echo "python3 -V" && python3 -V
162169
python3 -m pip install numpy scipy
163170
164171
- name: Download and install the latest SOFA ${{ matrix.sofa_branch }} binaries
@@ -185,6 +192,11 @@ jobs:
185192
run: |
186193
export DYLD_LIBRARY_PATH=$GITHUB_WORKSPACE/SofaPython3/lib:$SOFA_ROOT/lib
187194
export PYTHONPATH=$GITHUB_WORKSPACE/SofaPython3/lib/python3/site-packages
195+
echo "--------------------------------"
196+
ls -l ${SOFA_ROOT}
197+
echo "--------------------------------"
198+
otool -L ${SOFA_ROOT}/bin/runSofa
199+
echo "--------------------------------"
188200
chmod +x SofaPython3/bin/Bindings.Sofa.Tests
189201
./SofaPython3/bin/Bindings.Sofa.Tests
190202
- name: Bindings.SofaRuntime.Tests

0 commit comments

Comments
 (0)