Skip to content
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
17 changes: 8 additions & 9 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
os: ["ubuntu-22.04", "windows-2022", "macos-14"]
arch: ["x86_64", "arm64", "AMD64"]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
arch: arm64
- os: ubuntu-latest
- os: ubuntu-22.04
arch: AMD64
- os: windows-latest
- os: windows-2022
arch: arm64
- os: windows-latest
- os: windows-2022
arch: x86_64
- os: macos-latest
- os: macos-14
arch: AMD64

steps:
Expand All @@ -41,7 +41,6 @@ jobs:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD_FRONTEND: build
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_TEST_SKIP: "*_arm64"
CIBW_TEST_REQUIRES: pytest pandas>=2
CIBW_TEST_COMMAND: >
python -c "import gsw; print(f'gsw v{gsw.__version__}')" &&
Expand All @@ -56,7 +55,7 @@ jobs:
show-artifacts:
needs: [build_bdist]
name: "Show artifacts"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v4
with:
Expand All @@ -72,7 +71,7 @@ jobs:
publish-artifacts-pypi:
needs: [build_bdist]
name: "Publish to PyPI"
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
# upload to PyPI for every tag starting with 'v'
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
steps:
Expand Down