Skip to content

ci: fix versions

ci: fix versions #2

Workflow file for this run

name: CD
on: push
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [38, 39, 310, 311, 312]
target: [x86_64, i686, aarch64, armv7]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Build Wheels
uses: messense/maturin-action@v1
env:
# Update this based on the Python version
PYO3_CROSS_LIB_DIR: /opt/python/cp${{ matrix.python-version }}-cp${{ matrix.python-version }}/lib
with:
target: ${{ matrix.target }}
manylinux: auto
args: --release -o dist --find-interpreter
- name: Upload wheels
uses: actions/upload-artifact@v2
with:
name: wheels
path: dist