Skip to content

Commit

Permalink
Switch to cibuildwheel (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaultah authored Oct 28, 2023
1 parent 545e9d6 commit 7adbf65
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 627 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/build-linux.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/build-macos.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and test wheels
on:
workflow_call:
inputs:
include-pre-release-pythons:
required: true
type: string
jobs:
build-wheels:
name: Build and test 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: "auto64"
CIBW_BUILD: "cp*"
CIBW_TEST_EXTRAS: "test"
CIBW_TEST_COMMAND: "python -m pytest --pyargs replicat.tests"
CIBW_PRERELEASE_PYTHONS: ${{ inputs.include-pre-release-pythons }}
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/*.whl
39 changes: 0 additions & 39 deletions .github/workflows/build-windows.yml

This file was deleted.

Loading

0 comments on commit 7adbf65

Please sign in to comment.