Skip to content

Commit

Permalink
ENH: Build aarch64 linux and simplify matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jun 2, 2024
1 parent c765fec commit 7ea22b4
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Wheels

on:
pull_request:
branches:
- master

push:
tags:
Expand All @@ -14,19 +16,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-22.04", "windows-2022", "macos-14"]
arch: ["x86_64", "arm64", "AMD64"]
exclude:
- os: ubuntu-22.04
arch: arm64
- os: ubuntu-22.04
arch: AMD64
- os: windows-2022
arch: arm64
- os: windows-2022
arch: x86_64
- os: macos-14
arch: AMD64
include:
- os: ubuntu-22.04
arch: x86_64
- os: ubuntu-22.04
arch: aarch64
- os: windows-2022
arch: AMD64
- os: macos-14
arch: arm64
- os: macos-13
arch: x86_64

steps:
- uses: actions/checkout@v4
Expand All @@ -40,7 +40,7 @@ jobs:
CIBW_SKIP: "pp* cp36-* cp37-*"
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_TEST_SKIP: "*_arm64"
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: >
python -c "import cftime; print(f'cftime v{cftime.__version__}')" &&
Expand Down

0 comments on commit 7ea22b4

Please sign in to comment.