Skip to content

Commit

Permalink
ci: Skip aarch64 builds except for new releases
Browse files Browse the repository at this point in the history
These builds are extremely slow due to needing to rely on emulation, and
we can't adequately test them due to the emulation not providing all
syscalls that we require. There's little point to wasting time building
something that we can't test for every push to a PR branch, so we'll
defer building these until the time a release is cut.

Signed-off-by: Matt Wozniski <mwozniski@bloomberg.net>
  • Loading branch information
godlygeek committed Jul 10, 2023
1 parent 7f4d56b commit 6c4ce08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
matrix:
os: [ubuntu-latest]
cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
cibw_arch: ["x86_64", "aarch64"]
cibw_arch: ${{ fromJSON(github.event_name == "release" && github.event.action == "published" && '["x86_64", "aarch64"]' || '["x86_64"]') }}

steps:
- name: Disable ptrace security restrictions
Expand Down

0 comments on commit 6c4ce08

Please sign in to comment.