mirror of https://github.com/Nonannet/copapy.git
cibuildwheel updated
This commit is contained in:
parent
11a254a074
commit
47333254d6
|
|
@ -53,31 +53,17 @@ jobs:
|
||||||
#- name: Install dependencies
|
#- name: Install dependencies
|
||||||
# run: python -m pip install --upgrade pip cibuildwheel setuptools wheel pytest
|
# run: python -m pip install --upgrade pip cibuildwheel setuptools wheel pytest
|
||||||
|
|
||||||
- name: Build wheels (Linux)
|
- name: Build wheels
|
||||||
if: matrix.os == 'ubuntu-latest'
|
# run: cibuildwheel --output-dir wheelhouse
|
||||||
uses: pypa/cibuildwheel@v2.11.4
|
uses: pypa/cibuildwheel@v3.2.0
|
||||||
env:
|
|
||||||
CIBW_ARCHS_LINUX: "x86_64 aarch64"
|
|
||||||
CIBW_TEST_REQUIRES: "pytest"
|
|
||||||
CIBW_TEST_COMMAND: "pytest {package}/tests/test_coparun_module.py"
|
|
||||||
|
|
||||||
- name: Build wheels (macOS)
|
|
||||||
if: matrix.os == 'macos-latest'
|
|
||||||
uses: pypa/cibuildwheel@v2.11.4
|
|
||||||
env:
|
|
||||||
CIBW_ARCHS_MACOS: "universal2"
|
|
||||||
CIBW_TEST_REQUIRES: "pytest"
|
|
||||||
CIBW_TEST_COMMAND: "pytest {package}/tests/test_coparun_module.py"
|
|
||||||
|
|
||||||
- name: Build wheels (Windows)
|
|
||||||
if: matrix.os == 'windows-latest'
|
|
||||||
uses: pypa/cibuildwheel@v2.11.4
|
|
||||||
env:
|
env:
|
||||||
|
# Multi-arch builds
|
||||||
|
CIBW_ARCHS_LINUX: "x86_64" # aarch64
|
||||||
|
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"
|
||||||
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: wheels-${{ matrix.os }}
|
name: wheels-${{ matrix.os }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue