|
|
|
@ -45,11 +45,18 @@ jobs:
|
|
|
|
|
path: dist/*.tar.gz
|
|
|
|
|
|
|
|
|
|
build-wheels:
|
|
|
|
|
name: Build Wheels for ${{ matrix.os }}
|
|
|
|
|
name: Build Wheels for ${{ matrix.os }}-${{ matrix.arch }}
|
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
os: [ macos-latest, windows-latest, ubuntu-latest ]
|
|
|
|
|
arch: [ x86_64 ]
|
|
|
|
|
include:
|
|
|
|
|
- arch: arm64
|
|
|
|
|
os: macos-latest
|
|
|
|
|
- arch: aarch64
|
|
|
|
|
os: ubuntu-latest
|
|
|
|
|
qemu: true
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
@ -63,16 +70,26 @@ jobs:
|
|
|
|
|
# openMP isnt part of core apple clang for some reason?
|
|
|
|
|
run: brew install libomp
|
|
|
|
|
|
|
|
|
|
- name: Install QEMU
|
|
|
|
|
# install QEMU if building for arm linux
|
|
|
|
|
uses: docker/setup-qemu-action@v1
|
|
|
|
|
if: matrix.qemu
|
|
|
|
|
with:
|
|
|
|
|
platforms: arm64
|
|
|
|
|
|
|
|
|
|
- name: Install test images
|
|
|
|
|
run: git clone https://git.pileof.rocks/drewcassidy/quicktex-test-images.git tests/images
|
|
|
|
|
|
|
|
|
|
- name: Build wheels
|
|
|
|
|
uses: joerick/cibuildwheel@v1.11.0
|
|
|
|
|
uses: joerick/cibuildwheel@v2.3
|
|
|
|
|
env:
|
|
|
|
|
MACOSX_DEPLOYMENT_TARGET: "10.15"
|
|
|
|
|
CIBW_BUILD: "cp{37,38,39,310}-*"
|
|
|
|
|
CIBW_SKIP: "*-win32 *-manylinux_i686"
|
|
|
|
|
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux2014"
|
|
|
|
|
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
|
|
|
|
|
CIBW_ARCHS_LINUX: ${{ matrix.arch }}
|
|
|
|
|
CIBW_ARCHS_WINDOWS: "auto64"
|
|
|
|
|
CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_24"
|
|
|
|
|
CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux_2_24"
|
|
|
|
|
CIBW_TEST_EXTRAS: "tests"
|
|
|
|
|
CIBW_TEST_COMMAND: nosetests {project}/tests -d
|
|
|
|
|
|
|
|
|
|