Skip to content

CI

CI #16

Workflow file for this run

name: CI
on:
push:
tags: [ 'v*' ]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: PyO3/[email protected]
with:
manylinux: auto
command: build
args: --release -o dist -i python3.8
- uses: PyO3/[email protected]
with:
manylinux: auto
command: build
args: --release -o dist -i python3.9
- uses: PyO3/[email protected]
with:
manylinux: auto
command: build
args: --release -o dist -i python3.10
- uses: PyO3/[email protected]
with:
manylinux: auto
command: build
args: --release -o dist -i python3.11
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
name: wheels
path: dist
release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [ linux ]
steps:
- uses: actions/download-artifact@v2
with:
name: wheels
- name: Publish to PyPI
uses: PyO3/[email protected]
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
command: upload
args: --skip-existing *