From 5b6a1ac6db95f60e1a52fa1ffdc50b4cca61f17d Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Wed, 26 May 2021 23:51:49 +0200 Subject: [PATCH] test building wheels to avoid surprises at release time --- .github/workflows/build-wheels.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build-wheels.yml diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml new file mode 100644 index 0000000..2aa0ec1 --- /dev/null +++ b/.github/workflows/build-wheels.yml @@ -0,0 +1,26 @@ +name: Build wheels + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macOS-latest, windows-latest] + + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Build wheels + uses: messense/maturin-action@v1 + with: + maturin-version: latest + manylinux: auto + command: build + args: --release