Skip to content

Commit

Permalink
Fix macos wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Sep 26, 2024
1 parent 08e14ab commit d645848
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/PyPI-publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ jobs:
}
- {
os: macos-12,
arch: x64,
arch: x86_64,
python-ver: '3.8',
name: 'macos_x86_64'
}
- {
os: macos-14,
arch: aarch64,
arch: arm64,
python-ver: '3.10',
name: 'macos_aarch64'
name: 'macos_arm64'
}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
elif [ ${{ matrix.config.name }} == 'sdist' ]; then
cd bindings/python && python setup.py sdist
else
cd bindings/python && python setup.py bdist_wheel
cd bindings/python && ARCHFLAGS="-arch ${{ matrix.config.arch }}" python setup.py bdist_wheel
fi
- name: '📤 Upload artifact'
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit d645848

Please sign in to comment.