Skip to content

Commit

Permalink
Adjust platforms, re-enable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chad-earthscope committed May 31, 2024
1 parent 9ab011e commit c3c2cf5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
# macos-13 is an intel runner, macos-14 is apple silicon
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-13, macos-14]

steps:
- uses: actions/checkout@v4
Expand All @@ -31,14 +31,17 @@ jobs:
CIBW_SKIP: cp36-* cp37-* cp38-*

# Build separate wheels for macOS's different architectures.
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_MACOS: x86_64 arm64

# Specify additional architectures using emulation
CIBW_ARCHS_LINUX: auto aarch64

# Run tests with pytest
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/tests"
# Will avoid testing on emulated architectures, fix when GitHub Actions supports aarch64
CIBW_TEST_SKIP: "*-*linux_aarch64"

with:
package-dir: .
output-dir: wheelhouse
Expand Down

0 comments on commit c3c2cf5

Please sign in to comment.