Skip to content

Commit

Permalink
Update to Mac OS and manylinxwheel for ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
vidanovic committed Jan 30, 2025
1 parent 1ae821f commit 1c2284b
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ jobs:
- name: upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.python-version }}-${{ github.run_id }}
name: wheels-macos-${{ matrix.os }}-${{ matrix.python-version }}-${{ github.run_id }}
path: ./dist/*.whl


build_wheels_manylinux_x86_64:
name: Build manylinux wheels (x86_64)
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -123,19 +124,36 @@ jobs:
python -m pip install --upgrade pip
pip install cibuildwheel
- name: Debug - Show system info
run: |
uname -a
lscpu
df -h
free -m
- name: Debug - Show installed packages
run: |
python -m pip list
- name: Debug - Check Docker
run: |
docker images
docker run --rm --platform linux/aarch64 quay.io/pypa/manylinux_2_28_aarch64 una-a
- name: Build wheels with cibuildwheel
env:
CIBW_PLATFORM: "linux"
CIBW_BUILD: ${{ matrix.python-version }}
CIBW_ARCHS_LINUX: "aarch64"
CIBW_MANYLINUX_AARCH64_IMAGE: "quay.io/pypa/manylinux_2_28_aarch64"
CIBW_ENVIRONMENT: "CXXFLAGS='-g -O2 -fno-omit-frame-pointer'"
CIBW_BUILD_VERBOSITY: 3 # Enable detailed logging
CIBW_BEFORE_BUILD: "yum install -y gcc gcc-c++ make"
CIBW_BUILD_VERBOSITY: 3
run: |
cibuildwheel --output-dir wheelhouse
- name: upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-linux-arm64-${{ matrix.python-version }}-${{ github.run_id }}
path: wheelhouse/*.whl
path: wheelhouse/*.whl

0 comments on commit 1c2284b

Please sign in to comment.