Skip to content

Commit

Permalink
version everything n allow test to run on macos-14
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Jan 31, 2024
1 parent f49c06e commit 72d045e
Showing 1 changed file with 8 additions and 9 deletions.
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

0 comments on commit 72d045e

Please sign in to comment.