Skip to content

Commit 1861cd9

Browse files
committed
QEME arm64 build
1 parent b9e0506 commit 1861cd9

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,19 @@ jobs:
1717
include:
1818
- os: ubuntu-latest
1919
cibw_archs: 'native'
20-
- os: ubuntu-arm-2core
20+
- os: ubuntu-latest
2121
cibw_archs: 'aarch64'
22-
if: startsWith(github.ref, 'refs/tags/')
2322
- os: windows-latest
2423
cibw_archs: 'native ARM64'
25-
if: startsWith(github.ref, 'refs/tags/')
2624
- os: macos-latest
27-
cibw_archs: 'native arm64'
28-
if: startsWith(github.ref, 'refs/tags/')
25+
cibw_archs: 'native'
2926

3027
steps:
28+
- name: Set up QEMU
29+
if: matrix.cibw_archs == 'aarch64'
30+
uses: docker/setup-qemu-action@v2
31+
with:
32+
platforms: arm64
3133
- name: Checkout Repository
3234
uses: actions/checkout@v4
3335
- name: Clone Suitesparse
@@ -46,7 +48,7 @@ jobs:
4648
- name: Upload Wheels
4749
uses: actions/upload-artifact@v4
4850
with:
49-
name: wheels-${{ matrix.os }}
51+
name: wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}
5052
path: ./wheelhouse/*.whl
5153
overwrite: true
5254

@@ -64,22 +66,22 @@ jobs:
6466
- name: Download Linux (x86) wheels
6567
uses: actions/download-artifact@v4
6668
with:
67-
name: wheels-ubuntu-latest
69+
name: wheels-ubuntu-latest-native
6870
path: dist
6971
- name: Download Linux (ARM) wheels
7072
uses: actions/download-artifact@v4
7173
with:
72-
name: gfp-wheels-ubuntu-arm-2core
74+
name: gfp-wheels-ubuntu-latest-aarch64
7375
path: dist
7476
- name: Download Windows wheels
7577
uses: actions/download-artifact@v4
7678
with:
77-
name: wheels-windows-latest
79+
name: "wheels-windows-latest-native ARM64"
7880
path: dist
7981
- name: Download MacOS wheels
8082
uses: actions/download-artifact@v4
8183
with:
82-
name: wheels-macos-latest
84+
name: wheels-macos-latest-native
8385
path: dist
8486
- name: Release to PyPI
8587
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)