@@ -42,41 +42,36 @@ jobs:
4242 matrix :
4343 include :
4444 - os : windows-2019
45- cibw_archs : " AMD64 ARM64"
46- artifact_name : " win"
45+ cibw_archs : " AMD64"
46+ - os : windows-2019
47+ cibw_archs : " ARM64"
4748 - os : macos-13
48- cibw_archs : " x86_64 arm64"
49- artifact_name : " mac"
50- - os : " ubuntu-20.04"
49+ cibw_archs : " x86_64"
50+ - os : macos-14
51+ cibw_archs : " arm64"
52+ - os : " ubuntu-24.04-arm"
5153 cibw_archs : " aarch64"
52- artifact_name : " ubuntu-aarch"
53- - os : " ubuntu-20.04"
54+ - os : " ubuntu-22.04"
5455 cibw_archs : " x86_64"
55- artifact_name : " ubuntu-x86_64"
5656
5757 steps :
5858 - uses : actions/checkout@v4
5959 - run : |
6060 git fetch --prune --unshallow
6161
62- - name : Set up QEMU
63- if : runner.os == 'Linux'
64- uses : docker/setup-qemu-action@v3
65- with :
66- platforms : all
67-
6862 - name : Build wheels
69637064 env :
71- CIBW_SKIP : " cp36-* cp37-* cp38-* cp313 -* pp* *i686 *-musllinux*"
65+ CIBW_SKIP : " cp36-* cp37-* cp38-* cp39-* cp310 -* pp* *i686 *-musllinux*"
7266 CIBW_ARCHS : " ${{ matrix.cibw_archs }}"
7367 CIBW_TEST_COMMAND : " python -c \" import pyresample; assert 'unknown' not in pyresample.__version__, 'incorrect version found'\" "
74- CIBW_TEST_SKIP : " *_arm64 *_universal2:arm64"
68+ CIBW_TEST_SKIP : " *-win_arm64"
69+ CIBW_BUILD_VERBOSITY : 1
7570
7671 - name : Upload wheel(s) as build artifacts
7772 uses : actions/upload-artifact@v4
7873 with :
79- name : wheels-${{ matrix.artifact_name }}
74+ name : " wheels-${{ matrix.os }}-${{ matrix.cibw_archs }} "
8075 path : ./wheelhouse/*.whl
8176
8277 upload_test_pypi :
@@ -90,25 +85,11 @@ jobs:
9085 with :
9186 name : sdist
9287 path : dist
93- - name : Download wheels artifact - win
94- uses : actions/download-artifact@v4
95- with :
96- name : wheels-win
97- path : dist
98- - name : Download wheels artifact - mac
99- uses : actions/download-artifact@v4
100- with :
101- name : wheels-mac
102- path : dist
103- - name : Download wheels artifact - ubuntu aarch
104- uses : actions/download-artifact@v4
105- with :
106- name : wheels-ubuntu-aarch
107- path : dist
108- - name : Download wheels artifact - ubuntu x86_64
88+ - name : Download wheels artifact
10989 uses : actions/download-artifact@v4
11090 with :
111- name : wheels-ubuntu-x86_64
91+ pattern : wheels-*
92+ merge-multiple : true
11293 path : dist
11394 - name : Publish package to PyPI
11495 if : github.event.action != 'published'
@@ -127,25 +108,11 @@ jobs:
127108 with :
128109 name : sdist
129110 path : dist
130- - name : Download wheels artifact - win
131- uses : actions/download-artifact@v4
132- with :
133- name : wheels-win
134- path : dist
135- - name : Download wheels artifact - mac
136- uses : actions/download-artifact@v4
137- with :
138- name : wheels-mac
139- path : dist
140- - name : Download wheels artifact - ubuntu aarch
141- uses : actions/download-artifact@v4
142- with :
143- name : wheels-ubuntu-aarch
144- path : dist
145- - name : Download wheels artifact - ubuntu x86_64
111+ - name : Download wheels artifact
146112 uses : actions/download-artifact@v4
147113 with :
148- name : wheels-ubuntu-x86_64
114+ pattern : wheels-*
115+ merge-multiple : true
149116 path : dist
150117 - name : Publish package to PyPI
151118 if : github.event.action == 'published'
0 commit comments