File tree Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Original file line number Diff line number Diff line change @@ -117,43 +117,32 @@ jobs:
117
117
- name : Set up QEMU for cross-compilation
118
118
uses : docker/setup-qemu-action@v2
119
119
with :
120
- platforms : arm64
120
+ platforms : all # Ensures ARM64 is properly supported
121
+
122
+ - name : Test ManyLinux Container
123
+ run : |
124
+ docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 un-a
121
125
122
126
- name : Install cibuildwheel
123
127
run : |
124
128
python -m pip install --upgrade pip
125
129
pip install cibuildwheel
126
130
127
- - name : Debug - Show system info
128
- run : |
129
- uname -a
130
- lscpu
131
- df -h
132
- free -m
133
-
134
- - name : Debug - Show installed packages
135
- run : |
136
- python -m pip list
137
-
138
- - name : Debug - Check Docker
139
- run : |
140
- docker images
141
- docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 una-a
142
-
143
131
- name : Build wheels with cibuildwheel
144
132
env :
145
133
CIBW_PLATFORM : " linux"
146
134
CIBW_BUILD : ${{ matrix.python-version }}
147
135
CIBW_ARCHS_LINUX : " aarch64"
148
136
CIBW_MANYLINUX_AARCH64_IMAGE : " quay.io/pypa/manylinux_2_28_aarch64"
149
137
CIBW_ENVIRONMENT : " CXXFLAGS='-g -O2 -fno-omit-frame-pointer'"
150
- CIBW_BEFORE_BUILD : " yum install -y gcc gcc-c++ make"
151
138
CIBW_BUILD_VERBOSITY : 3
152
139
run : |
140
+ docker run --rm --platform linux/aarch64 -it quay.io/pypa/manylinux_2_28_aarchbin/bash -c "echo Container Started OK"
153
141
cibuildwheel --output-dir wheelhouse
154
142
155
143
- name : upload wheels
156
144
uses : actions/upload-artifact@v4
157
145
with :
158
146
name : wheels-linux-arm64-${{ matrix.python-version }}-${{ github.run_id }}
159
- path : wheelhouse/*.whl
147
+ path : wheelhouse/*.whl
148
+
You can’t perform that action at this time.
0 commit comments