WIP CIBW #265
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
paths-ignore: | |
- 'README.md' | |
- 'LICENSE' | |
- '.gitignore' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- run: ./scripts/lint --check-only --install | |
build_wheels: | |
needs: lint | |
name: Build wheels on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build wheels | |
uses: pypa/[email protected] | |
env: | |
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64" | |
CIBW_ARCHS_LINUX: "x86_64 i686 aarch64 ppc64le s390x" | |
CIBW_ARCHS_WINDOWS: "AMD64 x86 ARM64" | |
CIBW_TEST_EXTRAS: "test" | |
CIBW_TEST_COMMAND: "python -m pytest --pyargs replicat.tests" | |
CIBW_PRERELEASE_PYTHONS: true | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: ./wheelhouse/*.whl |