33
33
MATRIX_INCLUDE=$(
34
34
{
35
35
cibuildwheel --print-build-identifiers --platform linux --arch x86_64,i686 | jq -cR '{only: ., os: "ubuntu-latest"}' \
36
- && cibuildwheel --print-build-identifiers --platform linux --arch aarch64 | jq -cR '{only: ., os: "arm-4core-linux"}' \
36
+ && cibuildwheel --print-build-identifiers --platform linux --arch aarch64 | jq -cR '{only: ., os: "arm-4core-linux-ubuntu24.04 "}' \
37
37
&& cibuildwheel --print-build-identifiers --platform windows --arch AMD64,x86 | grep -v 313 | jq -cR '{only: ., os: "windows-latest"}' \
38
38
&& cibuildwheel --print-build-identifiers --platform macos --arch x86_64 | jq -cR '{only: ., os: "macos-13"}' \
39
39
&& cibuildwheel --print-build-identifiers --platform macos --arch arm64 | jq -cR '{only: ., os: "macos-latest"}'
@@ -59,33 +59,20 @@ jobs:
59
59
fetch-depth : 0
60
60
61
61
- uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
62
- if : matrix.os != 'arm-4core-linux'
62
+ if : matrix.os != 'arm-4core-linux-ubuntu24.04 '
63
63
name : Install Python
64
64
with :
65
65
python-version : ' 3.8'
66
66
67
- - name : Install docker and pipx
68
- if : matrix.os == 'arm-4core-linux'
69
- # The ARM64 Ubuntu has less things installed by default
70
- # We need docker, pip and venv for cibuildwheel
71
- # acl allows us to use docker in the same session
72
- run : |
73
- curl -fsSL https://get.docker.com -o get-docker.sh
74
- sudo sh get-docker.sh
75
- sudo usermod -a -G docker $USER
76
- sudo apt install -y acl python3.10-venv python3-pip
77
- sudo setfacl --modify user:runner:rw /var/run/docker.sock
78
- python3 -m pip install pipx
79
-
80
67
- name : Set up QEMU
81
- if : runner.os == 'Linux' && matrix.os != 'arm-4core-linux'
68
+ if : runner.os == 'Linux' && matrix.os != 'arm-4core-linux-ubuntu24.04 '
82
69
uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
83
70
with :
84
71
platforms : all
85
72
86
73
- name : Build wheels arm64
87
- if : always() && matrix.os == 'arm-4core-linux'
88
- run : /home/runner/.local/bin/ pipx run cibuildwheel==2.22.0 --only ${{ matrix.only }}
74
+ if : always() && matrix.os == 'arm-4core-linux-ubuntu24.04 '
75
+ run : pipx run cibuildwheel==2.22.0 --only ${{ matrix.only }}
89
76
env :
90
77
CIBW_SKIP : ${{ inputs.cibw_skip }}
91
78
CIBW_PRERELEASE_PYTHONS : ${{ inputs.cibw_prerelease_pythons }}
@@ -119,7 +106,7 @@ jobs:
119
106
# CIBW_BUILD_VERBOSITY_MACOS: 3
120
107
121
108
- name : Build wheels
122
- if : always() && matrix.os != 'arm-4core-linux'
109
+ if : always() && matrix.os != 'arm-4core-linux-ubuntu24.04 '
123
110
uses : pypa/cibuildwheel@d04cacbc9866d432033b1d09142936e6a0e2121a # v2.23.2
124
111
with :
125
112
only : ${{ matrix.only }}
0 commit comments