Skip to content

Commit 7ea22b4

Browse files
committed
ENH: Build aarch64 linux and simplify matrix
1 parent c765fec commit 7ea22b4

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/cibuildwheel.yml

+14-14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Wheels
22

33
on:
44
pull_request:
5+
branches:
6+
- master
57

68
push:
79
tags:
@@ -14,19 +16,17 @@ jobs:
1416
strategy:
1517
fail-fast: false
1618
matrix:
17-
os: ["ubuntu-22.04", "windows-2022", "macos-14"]
18-
arch: ["x86_64", "arm64", "AMD64"]
19-
exclude:
20-
- os: ubuntu-22.04
21-
arch: arm64
22-
- os: ubuntu-22.04
23-
arch: AMD64
24-
- os: windows-2022
25-
arch: arm64
26-
- os: windows-2022
27-
arch: x86_64
28-
- os: macos-14
29-
arch: AMD64
19+
include:
20+
- os: ubuntu-22.04
21+
arch: x86_64
22+
- os: ubuntu-22.04
23+
arch: aarch64
24+
- os: windows-2022
25+
arch: AMD64
26+
- os: macos-14
27+
arch: arm64
28+
- os: macos-13
29+
arch: x86_64
3030

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

0 commit comments

Comments
 (0)