@@ -52,12 +52,17 @@ jobs:
52
52
strategy :
53
53
matrix :
54
54
pytorch-version : ["2.4", "2.5", "2.6", "2.7", "2.8"]
55
- arch : ["arm64", "x86_64"]
56
- os : ["ubuntu-22.04", "macos-14"]
57
- exclude :
58
- # remove mismatched arch/os pairs
59
- - {os: macos-14, arch: x86_64}
60
- - {os: ubuntu-22.04, arch: arm64}
55
+ os : [ubuntu-22.04, macos-14, ubuntu-22.04-arm]
56
+ include :
57
+ - os : ubuntu-22.04
58
+ arch : x86_64
59
+ name : x86_64 Linux
60
+ - os : macos-14
61
+ arch : arm64
62
+ name : arm64 macOS
63
+ - os : ubuntu-22.04-arm
64
+ arch : aarch64
65
+ name : aarch64 Linux
61
66
62
67
name : " Torch ${{matrix.pytorch-version}} ${{matrix.os}} ${{matrix.arch}}"
63
68
66
71
uses : actions/checkout@v4
67
72
68
73
- name : Free disk space (Ubuntu)
69
- if : matrix.os == 'ubuntu-22.04'
74
+ if : startsWith( matrix.os, 'ubuntu-')
70
75
run : |
71
76
sudo rm -rf /usr/local/.ghcup
72
77
sudo rm -rf /opt/hostedtoolcache/CodeQL
76
81
sudo rm -rf /usr/local/share/boost
77
82
78
83
- name : Build custom manylinux Docker Image with CUDA
79
- if : matrix.os == 'ubuntu-22.04'
84
+ if : startsWith( matrix.os, 'ubuntu-')
80
85
run : |
81
86
docker build --no-cache \
82
87
-t sphericart_manylinux_2_28_"${{ matrix.arch }}" \
98
103
CIBW_SKIP : " *-musllinux*"
99
104
CIBW_ARCHS : " ${{ matrix.arch }}"
100
105
CIBW_MANYLINUX_X86_64_IMAGE : sphericart_manylinux_2_28_x86_64
106
+ CIBW_MANYLINUX_AARCH64_IMAGE : sphericart_manylinux_2_28_aarch64
101
107
CIBW_REPAIR_WHEEL_COMMAND_LINUX : |
102
108
auditwheel repair \
103
109
--exclude libc10.so \
@@ -134,6 +140,9 @@ jobs:
134
140
- name : arm64 macOS
135
141
os : macos-14
136
142
arch : arm64
143
+ - name : aarch64 Linux
144
+ os : ubuntu-22.04-arm
145
+ arch : aarch64
137
146
steps :
138
147
- uses : actions/checkout@v4
139
148
0 commit comments