Skip to content

ci: test linux builds #1

ci: test linux builds

ci: test linux builds #1

Workflow file for this run

name: CD
on: push
jobs:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]
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