@@ -11,60 +11,24 @@ concurrency:
1111
1212jobs :
1313 build_wheels :
14- name : Build wheels for ${{ matrix.build }}
14+ name : Build wheels for ${{ matrix.pyver }}-${{ matrix. build }}
1515 runs-on : ${{ matrix.os }}
1616 strategy :
1717 fail-fast : false
1818 matrix :
19+ pyver : [cp39, cp310, cp311, cp312, cp313, cp314]
1920 include :
2021 # macos-13 is an intel runner, macos-14 is apple silicon
2122 - os : macos-13
22- build : cp38- macosx_x86_64
23+ build : macosx_x86_64
2324 target : 13.0
24- - os : macos-13
25- build : cp39-macosx_x86_64
26- target : 13.0
27- - os : macos-13
28- build : cp310-macosx_x86_64
29- target : 13.0
30- - os : macos-13
31- build : cp311-macosx_x86_64
32- target : 13.0
33- - os : macos-13
34- build : cp312-macosx_x86_64
35- target : 13.0
36- - os : macos-13
37- build : cp313-macosx_x86_64
38- target : 13.0
39-
40- - os : macos-14
41- build : cp39-macosx_arm64
42- target : 14.0
43- - os : macos-14
44- build : cp310-macosx_arm64
45- target : 14.0
4625 - os : macos-14
47- build : cp311- macosx_arm64
26+ build : macosx_arm64
4827 target : 14.0
49- - os : macos-14
50- build : cp312-macosx_arm64
51- target : 14.0
52- - os : macos-14
53- build : cp313-macosx_arm64
54- target : 14.0
55-
56- - os : ubuntu-latest
57- build : cp38-manylinux_x86_64
58- - os : ubuntu-latest
59- build : cp39-manylinux_x86_64
60- - os : ubuntu-latest
61- build : cp310-manylinux_x86_64
62- - os : ubuntu-latest
63- build : cp311-manylinux_x86_64
64- - os : ubuntu-latest
65- build : cp312-manylinux_x86_64
66- - os : ubuntu-latest
67- build : cp313-manylinux_x86_64
28+ - os : ubuntu-24.04
29+ build : manylinux_x86_64
30+ - os : ubuntu-24.04-arm
31+ build : manylinux_aarch64
6832
6933 steps :
7034 - name : Set macOS deployment target
@@ -77,15 +41,15 @@ jobs:
7741 run : brew install automake libtool
7842
7943 - name : Checkout
80- uses : actions/checkout@v4
44+ uses : actions/checkout@v5
8145 with :
8246 fetch-depth : 0
8347 fetch-tags : true
8448
8549 - name : Build wheels
8650 uses : pypa/cibuildwheel@v3.1.3
8751 env :
88- CIBW_BUILD : ${{ matrix.build }}
52+ CIBW_BUILD : ${{ matrix.pyver }}-${{ matrix. build }}
8953 CIBW_BEFORE_ALL_LINUX : yum install -y zlib-devel bzip2-devel xz-devel netcdf-devel
9054 CIBW_BEFORE_ALL_MACOS : brew install netcdf
9155 CIBW_BEFORE_BUILD_MACOS : >
@@ -115,14 +79,14 @@ jobs:
11579 - name : Upload artifacts
11680 uses : actions/upload-artifact@v4
11781 with :
118- name : cibw-wheel-${{ matrix.build }}
82+ name : cibw-wheel-${{ matrix.pyver }}-${{ matrix. build }}
11983 path : ./wheelhouse/spt3g*.whl
12084
12185 build_sdist :
12286 name : Build source distribution
12387 runs-on : ubuntu-latest
12488 steps :
125- - uses : actions/checkout@v4
89+ - uses : actions/checkout@v5
12690 with :
12791 fetch-depth : 0
12892 fetch-tags : true
@@ -144,7 +108,7 @@ jobs:
144108 if : github.event_name == 'release' && github.event.action == 'published'
145109 steps :
146110 - name : Download artifacts
147- uses : actions/download-artifact@v4
111+ uses : actions/download-artifact@v5
148112 with :
149113 # unpacks all CIBW artifacts into dist/
150114 pattern : cibw-*
0 commit comments