Skip to content

Commit 1c2284b

Browse files
committed
Update to Mac OS and manylinxwheel for ARM64
1 parent 1ae821f commit 1c2284b

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

.github/workflows/build_wheels.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,10 @@ jobs:
7171
- name: upload wheels
7272
uses: actions/upload-artifact@v4
7373
with:
74-
name: wheels-macos-${{ matrix.python-version }}-${{ github.run_id }}
74+
name: wheels-macos-${{ matrix.os }}-${{ matrix.python-version }}-${{ github.run_id }}
7575
path: ./dist/*.whl
7676

77+
7778
build_wheels_manylinux_x86_64:
7879
name: Build manylinux wheels (x86_64)
7980
runs-on: ubuntu-24.04
@@ -123,19 +124,36 @@ jobs:
123124
python -m pip install --upgrade pip
124125
pip install cibuildwheel
125126
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+
126143
- name: Build wheels with cibuildwheel
127144
env:
128145
CIBW_PLATFORM: "linux"
129146
CIBW_BUILD: ${{ matrix.python-version }}
130147
CIBW_ARCHS_LINUX: "aarch64"
131148
CIBW_MANYLINUX_AARCH64_IMAGE: "quay.io/pypa/manylinux_2_28_aarch64"
132149
CIBW_ENVIRONMENT: "CXXFLAGS='-g -O2 -fno-omit-frame-pointer'"
133-
CIBW_BUILD_VERBOSITY: 3 # Enable detailed logging
150+
CIBW_BEFORE_BUILD: "yum install -y gcc gcc-c++ make"
151+
CIBW_BUILD_VERBOSITY: 3
134152
run: |
135153
cibuildwheel --output-dir wheelhouse
136154
137155
- name: upload wheels
138156
uses: actions/upload-artifact@v4
139157
with:
140158
name: wheels-linux-arm64-${{ matrix.python-version }}-${{ github.run_id }}
141-
path: wheelhouse/*.whl
159+
path: wheelhouse/*.whl

0 commit comments

Comments
 (0)