Skip to content

Commit 5d9a923

Browse files
committed
Fixed CI.
1 parent 0995676 commit 5d9a923

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
args: --release --out dist --find-interpreter
4949
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
5050
manylinux: auto
51+
env:
52+
CFLAGS_aarch64_unknown_linux_gnu: ${{ matrix.platform.target == 'aarch64' && '-D__ARM_ARCH=8' || '' }}
5153
- name: Upload wheels
5254
uses: actions/upload-artifact@v6
5355
with:
@@ -79,6 +81,9 @@ jobs:
7981
args: --release --out dist --find-interpreter
8082
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
8183
manylinux: musllinux_1_2
84+
env:
85+
CFLAGS_aarch64_unknown_linux_musl: ${{ matrix.platform.target == 'aarch64' && '-D__ARM_ARCH=8' || '' }}
86+
CFLAGS_armv7_unknown_linux_musleabihf: ${{ matrix.platform.target == 'armv7' && '-D__ARM_ARCH=7' || '' }}
8287
- name: Upload wheels
8388
uses: actions/upload-artifact@v6
8489
with:

0 commit comments

Comments
 (0)