Skip to content

Commit

Permalink
Update macwheel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tmtenbrink authored Sep 19, 2021
1 parent f91200e commit 85e70e2
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/macwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9' ]
target: ['--universal2', '']
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down Expand Up @@ -50,20 +51,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Maturin release
run: poetry run maturin build --release --universal2
- name: maturin build release
run: poetry run maturin build --release ${{ matrix.target }}
working-directory: ${{ github.workspace }}

- uses: actions/upload-artifact@v2
with:
name: wheel
path: ${{ github.workspace }}/target/wheels

- name: Install delocate
- name: delocate fix wheels
run: find . -name "*.whl" -exec delocate-wheel -w wheelhouse --require-archs=universal2 {} \;
working-directory: ${{ github.workspace }}

- uses: actions/upload-artifact@v2
with:
name: wheel-fixed
name: wheelhouse
path: ${{ github.workspace }}/wheelhouse

0 comments on commit 85e70e2

Please sign in to comment.