Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abandon macos universal2 builds for arch-specific builds #134

Merged
merged 3 commits into from
Jan 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,23 @@ jobs:
# Windows isn't working right now: https://github.com/caketop/python-starlark-go/issues/4
os: [ubuntu-latest, macos-latest]
cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
cibw_arch: ["x86_64", "aarch64", "universal2"]
cibw_arch: ["x86_64", "aarch64", "arm64"]
include:
- cibw_arch: arm64
goarch: arm64
- cibw_arch: aarch64
goarch: arm64
- cibw_arch: x86_64
goarch: amd64
exclude:
- os: ubuntu-latest
cibw_arch: universal2
cibw_arch: arm64
- os: macos-latest
cibw_arch: aarch64
- os: macos-latest
cibw_arch: x86_64
- os: macos-latest
cibw_python: "cp37-*"
cibw_arch: universal2
include:
- os: macos-latest
cibw_python: "cp37-*"
cibw_arch: x86_64
cibw_arch: arm64

steps:
- uses: actions/checkout@v3
with:
Expand All @@ -75,6 +76,8 @@ jobs:
CIBW_BUILD_VERBOSITY: 1
CIBW_BUILD: ${{ matrix.cibw_python }}
CIBW_ARCHS: ${{ matrix.cibw_arch }}
GOARCH: ${{ matrix.goarch }}
CGO_ENABLED: 1

- uses: actions/upload-artifact@v3
with:
Expand Down