From 9ab011e783477f996733a84e97d88b548f55c7b2 Mon Sep 17 00:00:00 2001 From: chad-earthscope Date: Thu, 30 May 2024 17:03:21 -0700 Subject: [PATCH] Adjust platforms, re-enable tests --- .github/workflows/build_wheels.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 1872e76..1f99daa 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: # macos-13 is an intel runner, macos-14 is apple silicon - os: [ubuntu-latest, macos-13, macos-14, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] steps: - uses: actions/checkout@v4 @@ -30,12 +30,15 @@ jobs: # Skip older python's to prevent things like: https://github.com/pypa/cibuildwheel/issues/1828 CIBW_SKIP: cp36-* cp37-* cp38-* + # Build separate wheels for macOS's different architectures. + 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" + CIBW_TEST_REQUIRES: pytest + CIBW_TEST_COMMAND: "pytest {project}/tests" with: package-dir: . output-dir: wheelhouse