Simplifies Python wheel build on CI

pull/84/head
Tpt 4 years ago
parent 82381e21a9
commit 06bf362ffe
  1. 14
      .github/workflows/build.yml

@ -69,25 +69,17 @@ jobs:
- run: source ../venv/bin/activate && sphinx-build -M html . build
working-directory: ./python/docs
python_wheel_linux:
runs-on: ubuntu-latest
needs: python
steps:
- uses: actions/checkout@v2
- run: docker run --rm -v $(pwd):/io konstin2/maturin build
working-directory: ./python
python_wheel_mac_windows:
python_wheel:
runs-on: ${{ matrix.os }}
needs: python
strategy:
matrix:
os: [ macos-latest, windows-latest ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.6
- run: pip install maturin
- run: maturin build --no-sdist
- run: maturin build
working-directory: ./python

Loading…
Cancel
Save