Compare commits

..

No commits in common. "23133eb802c9a8632558544b582152ec551229e0" and "ec7953dcff67f4db62d28e8de3939a237dc557a7" have entirely different histories.

View File

@ -45,13 +45,15 @@ jobs:
path: dist/*.tar.gz
build-wheels:
name: Build Wheels on ${{ matrix.os }}
name: Build Wheels on ${{ matrix.os }} ${{ matrix.arch[0] }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# macos-13 is an intel runner, macos-14 is apple silicon
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
linux_arch: [ 'x86_64' ] #[suffix, mac, windows, linux] arch names
os: [ macos-11, windows-latest, ubuntu-latest ]
arch: [ ['x86', 'x86_64', 'AMD64', 'x86_64' ] ] #[suffix, mac, windows, linux] arch names
include:
- os: ubuntu-latest
arch: [ 'ARM', 'arm64', 'ARM64', 'aarch64' ]
steps:
- uses: actions/checkout@v3
@ -69,17 +71,17 @@ jobs:
sudo tar fvxz openmp-*.tar.gz -C /
- name: Install QEMU
# install QEMU if building for linux
# install QEMU if building for arm linux
uses: docker/setup-qemu-action@v2
if: runner.os == 'linux'
if: runner.os == 'linux' && matrix.arch[3] == 'aarch64'
with:
platforms: arm64
- name: Build wheels
uses: pypa/cibuildwheel@v2.18.1
uses: pypa/cibuildwheel@v2.11.2
env:
MACOSX_DEPLOYMENT_TARGET: "12"
CIBW_ARCHS_LINUX: 'x86_64 aarch64'
MACOSX_DEPLOYMENT_TARGET: "10.15"
CIBW_ARCHS_LINUX: ${{ matrix.arch[3] }}
- name: Upload Wheels
uses: actions/upload-artifact@v3