|
|
|
@ -45,15 +45,15 @@ jobs:
|
|
|
|
|
path: dist/*.tar.gz
|
|
|
|
|
|
|
|
|
|
build-wheels:
|
|
|
|
|
name: Build Wheels on ${{ matrix.os }}-${{ matrix.arch[0] }}
|
|
|
|
|
name: Build Wheels on ${{ matrix.os }} ${{ matrix.arch[0] }}
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
os: [ macos-11, windows-latest, ubuntu-latest ]
|
|
|
|
|
arch: [ [ x86_64, AMD64, x86_64 ] ] #[mac, windows, linux] arch names
|
|
|
|
|
arch: [ ['x86', 'x86_64', 'AMD64', 'x86_64' ] ] #[suffix, mac, windows, linux] arch names
|
|
|
|
|
include:
|
|
|
|
|
- os: ubuntu-latest
|
|
|
|
|
arch: [ arm64, arm64, aarch64 ]
|
|
|
|
|
arch: [ 'ARM', 'arm64', 'ARM64', 'aarch64' ]
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
@ -75,7 +75,7 @@ jobs:
|
|
|
|
|
- name: Install QEMU
|
|
|
|
|
# install QEMU if building for arm linux
|
|
|
|
|
uses: docker/setup-qemu-action@v1
|
|
|
|
|
if: runner.os == 'linux' && matrix.arch[2] == 'aarch64'
|
|
|
|
|
if: runner.os == 'linux' && matrix.arch[3] == 'aarch64'
|
|
|
|
|
with:
|
|
|
|
|
platforms: arm64
|
|
|
|
|
|
|
|
|
@ -83,7 +83,7 @@ jobs:
|
|
|
|
|
uses: pypa/cibuildwheel@v2.4.0
|
|
|
|
|
env:
|
|
|
|
|
MACOSX_DEPLOYMENT_TARGET: "10.15"
|
|
|
|
|
CIBW_ARCHS_LINUX: ${{ matrix.arch[2] }}
|
|
|
|
|
CIBW_ARCHS_LINUX: ${{ matrix.arch[3] }}
|
|
|
|
|
|
|
|
|
|
- name: Upload Wheels
|
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
|