Skip to content

Commit

Permalink
ECC-1793: develop binary wheel - macos arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell committed Apr 11, 2024
1 parent 6ac5e99 commit 36f231e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/build-wheel-macos-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@ jobs:
- uses: actions/checkout@v2

- run: ./scripts/build-macos.sh "3.10"

- run: ./scripts/wheel-macos.sh "3.9"
- run: ls -l wheelhouse
- uses: actions/upload-artifact@v2
name: Upload wheel 3.9
with:
name: wheel-macos-3.9
path: wheelhouse/*.whl
- run: rm -fr wheelhouse

- run: ./scripts/wheel-macos.sh "3.10"
- run: ls -l wheelhouse
- uses: actions/upload-artifact@v2
Expand All @@ -56,7 +66,16 @@ jobs:
name: wheel-macos-3.10
path: wheelhouse/*.whl
- run: rm -fr wheelhouse


- run: ./scripts/wheel-macos.sh "3.11"
- run: ls -l wheelhouse
- uses: actions/upload-artifact@v2
name: Upload wheel 3.11
with:
name: wheel-macos-3.11
path: wheelhouse/*.whl
- run: rm -fr wheelhouse

test:
needs: build

Expand Down
1 change: 1 addition & 0 deletions scripts/wheel-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
set -eaux
python_version=$1


arch=$(arch)
[[ $arch == "i386" ]] && arch="x86_64" # GitHub Actions on macOS declare i386

Expand Down

0 comments on commit 36f231e

Please sign in to comment.