Skip to content

Dev/misc paper updates #274

Dev/misc paper updates

Dev/misc paper updates #274

Workflow file for this run

name: Build
on: [pull_request]
jobs:
build_wheels_macos:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# macos-13 is an intel runner, macos-14 is apple silicon
os: [macos-13, macos-14]
py: [cp38, cp39, cp311, cp312]
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Build wheels
uses: pypa/cibuildwheel@v2.18.1
env:
# configure cibuildwheel to build native archs ('auto'), and some
# emulated ones
CIBW_BUILD: ${{ matrix.py }}-*
CIBW_ARCHS_LINUX: auto
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
build_wheels_linux:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
py: [cp38, cp39, cp311, cp312]
image: [manylinux, musllinux]
arch: [x86_64, i686, aarch64, ppc64le, s390x]
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Build wheels
uses: pypa/cibuildwheel@v2.18.1
env:
# configure cibuildwheel to build native archs ('auto'), and some
# emulated ones
CIBW_BUILD: ${{ matrix.py }}-${{ matrix.image }}_${{ matrix.arch }}
CIBW_ARCHS: all
- uses: actions/upload-artifact@v4
with:
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./wheelhouse/*.whl
merge:
runs-on: ubuntu-latest
needs: [build_wheels_macos, build_wheels_linux]
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
delete-merged: true