Skip to content

Commit

Permalink
Merge branch 'main' of github.com:DavidLapous/multipers
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLapous committed Jan 5, 2024
2 parents 9297629 + d33cb15 commit abe251d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: |
pip install dist/*.whl
pytest multipers/tests
- name: Auditwheel on linux
- name: Fix wheels on Linux and Macos
shell: bash -el {0}
run: |
if [[ ${{ matrix.os }} == "ubuntu-latest" ]]; then
Expand All @@ -66,6 +66,17 @@ jobs:
mv wheelhouse/*.whl . # retrieves repaired wheels
cd ..
fi
if [[ ${{ matrix.os }} == "macos-latest" ]]; then
cd dist
pip install delocate --upgrade
for wheel_file in multipers*macosx*.whl; do
delocate-listdeps $wheel_file
delocate-wheel --require-archs x86_64 -w wheelhouse -v $wheel_file
rm $wheel_file
done
mv wheelhouse/*.whl . # retrieves repaired wheels
cd ..
fi
- name: Upload sources and wheel
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit abe251d

Please sign in to comment.