Skip to content

Commit d3fbfcf

Browse files
committed
🔧 fix cd.yml
1 parent dafbb95 commit d3fbfcf

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -49,37 +49,16 @@ jobs:
4949
matrix:
5050
os: [ubuntu-latest, windows-latest, macos-14, ubuntu-24.04-arm]
5151
qemu: [ '' ]
52-
musl: [ '' ]
5352
include:
5453
# Split ubuntu job for the sake of speed-up
5554
- os: ubuntu-latest
5655
qemu: ppc64le
57-
musl: ""
58-
- os: ubuntu-latest
59-
qemu: ppc64le
60-
musl: musllinux
6156
- os: ubuntu-latest
6257
qemu: riscv64
63-
musl: ""
64-
- os: ubuntu-latest
65-
qemu: riscv64
66-
musl: musllinux
67-
- os: ubuntu-latest
68-
qemu: s390x
69-
musl: ""
7058
- os: ubuntu-latest
7159
qemu: s390x
72-
musl: musllinux
73-
- os: ubuntu-latest
74-
qemu: armv7l
75-
musl: ""
7660
- os: ubuntu-latest
7761
qemu: armv7l
78-
musl: musllinux
79-
- os: ubuntu-latest
80-
musl: musllinux
81-
- os: ubuntu-24.04-arm
82-
musl: musllinux
8362
steps:
8463
- name: Checkout
8564
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -92,12 +71,9 @@ jobs:
9271
platforms: all
9372
id: qemu
9473
- name: Prepare emulation
74+
if: ${{ matrix.qemu }}
9575
run: |
96-
if [[ -n "${{ matrix.qemu }}" ]]; then
97-
# Build emulated architectures only if QEMU is set,
98-
# use default "auto" otherwise
99-
echo "CIBW_ARCHS_LINUX=${{ matrix.qemu }}" >> $GITHUB_ENV
100-
fi
76+
echo "CIBW_ARCHS_LINUX=${{ matrix.qemu }}" >> $GITHUB_ENV
10177
shell: bash
10278
- name: Setup Python
10379
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
@@ -109,7 +85,7 @@ jobs:
10985
CIBW_ENVIRONMENT: CHARSET_NORMALIZER_USE_MYPYC='1'
11086
CIBW_TEST_REQUIRES: pytest
11187
CIBW_TEST_COMMAND: pytest -c {package} {package}/tests
112-
CIBW_SKIP: "cp31?t-* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }}"
88+
CIBW_SKIP: "cp31?t-*"
11389
- name: Upload artifacts
11490
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
11591
with:

0 commit comments

Comments
 (0)