Skip to content

Commit

Permalink
Enable testing for macOS arm64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Jan 31, 2024
1 parent a1f36a4 commit ff30a80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform linux mypy \
| pyp 'json.dumps({"only": x, "os": "ubuntu-latest"})' \
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform macos mypy \
| pyp 'json.dumps({"only": x, "os": "macos-latest"})' \
| pyp 'json.dumps({"only": x, "os": "macos-14"})' \
&& cibuildwheel --config-file=cibuildwheel.toml --print-build-identifiers --platform windows mypy \
| pyp 'json.dumps({"only": x, "os": "windows-latest"})'
} | pyp 'json.dumps(list(map(json.loads, lines)))'
Expand Down
6 changes: 0 additions & 6 deletions cibuildwheel.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ skip = [
"pp*",
]

# Apple Silicon support
# When cross-compiling on Intel, it is not possible to test arm64.
# Warnings will be silenced with the following CIBW_TEST_SKIP.
macos.archs = ["x86_64", "arm64"]
test-skip = "*-macosx_arm64"

build-verbosity = 1

linux.before-all = [
Expand Down

0 comments on commit ff30a80

Please sign in to comment.