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,universal2 | jq -cR '{only: ., os: "macos-13"}'
39
39
} | jq -sc
@@ -57,33 +57,20 @@ jobs:
57
57
fetch-depth : 0
58
58
59
59
- uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
60
- if : matrix.os != 'arm-4core-linux'
60
+ if : matrix.os != 'arm-4core-linux-ubuntu24.04 '
61
61
name : Install Python
62
62
with :
63
63
python-version : ' 3.8'
64
64
65
- - name : Install docker and pipx
66
- if : matrix.os == 'arm-4core-linux'
67
- # The ARM64 Ubuntu has less things installed by default
68
- # We need docker, pip and venv for cibuildwheel
69
- # acl allows us to use docker in the same session
70
- run : |
71
- curl -fsSL https://get.docker.com -o get-docker.sh
72
- sudo sh get-docker.sh
73
- sudo usermod -a -G docker $USER
74
- sudo apt install -y acl python3.10-venv python3-pip
75
- sudo setfacl --modify user:runner:rw /var/run/docker.sock
76
- python3 -m pip install pipx
77
-
78
65
- name : Set up QEMU
79
- if : runner.os == 'Linux' && matrix.os != 'arm-4core-linux'
66
+ if : runner.os == 'Linux' && matrix.os != 'arm-4core-linux-ubuntu24.04 '
80
67
uses : docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0
81
68
with :
82
69
platforms : all
83
70
84
71
- name : Build wheels arm64
85
- if : always() && matrix.os == 'arm-4core-linux'
86
- run : /home/runner/.local/bin/ pipx run cibuildwheel==2.22.0 --only ${{ matrix.only }}
72
+ if : always() && matrix.os == 'arm-4core-linux-ubuntu24.04 '
73
+ run : pipx run cibuildwheel==2.22.0 --only ${{ matrix.only }}
87
74
env :
88
75
CIBW_SKIP : ${{ inputs.cibw_skip }}
89
76
CIBW_PRERELEASE_PYTHONS : ${{ inputs.cibw_prerelease_pythons }}
@@ -116,7 +103,7 @@ jobs:
116
103
# CIBW_BUILD_VERBOSITY_MACOS: 3
117
104
118
105
- name : Build wheels
119
- if : always() && matrix.os != 'arm-4core-linux'
106
+ if : always() && matrix.os != 'arm-4core-linux-ubuntu24.04 '
120
107
uses : pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
121
108
with :
122
109
only : ${{ matrix.only }}
0 commit comments