This commit is contained in:
Nicolas Kruse 2025-10-08 23:24:27 +02:00
parent 47333254d6
commit 6af960bd46
1 changed files with 6 additions and 11 deletions

View File

@ -44,23 +44,18 @@ jobs:
python-version: "3.11" python-version: "3.11"
# Only needed for Linux ARM builds # Only needed for Linux ARM builds
- name: Set up QEMU #- name: Set up QEMU
if: runner.os == 'Linux' # if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v2 # uses: docker/setup-qemu-action@v2
with: # with:
platforms: all # platforms: all
#- name: Install dependencies
# run: python -m pip install --upgrade pip cibuildwheel setuptools wheel pytest
- name: Build wheels - name: Build wheels
# run: cibuildwheel --output-dir wheelhouse
uses: pypa/cibuildwheel@v3.2.0 uses: pypa/cibuildwheel@v3.2.0
env: env:
# Multi-arch builds
CIBW_ARCHS_LINUX: "x86_64" # aarch64 CIBW_ARCHS_LINUX: "x86_64" # aarch64
CIBW_ARCHS_MACOS: "universal2" # x86_64 arm64 CIBW_ARCHS_MACOS: "universal2" # x86_64 arm64
CIBW_ARCHS_WINDOWS: "AMD64 x86" CIBW_ARCHS_WINDOWS: "AMD64" # x86
CIBW_TEST_REQUIRES: "pytest" CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest {package}/tests/test_coparun_module.py" CIBW_TEST_COMMAND: "pytest {package}/tests/test_coparun_module.py"