py: see if we can build multiple Python versions in Windows
This commit is contained in:
parent
bfcba4b3b7
commit
d6807f6a8c
|
@ -6,10 +6,10 @@ on:
|
||||||
- py-*
|
- py-*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Unix:
|
All:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
python: ["3.8", "3.9", "3.10", "3.11"]
|
python: ["3.8", "3.9", "3.10", "3.11"]
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
@ -34,22 +34,3 @@ jobs:
|
||||||
--username __token__
|
--username __token__
|
||||||
--password ${{ secrets.PYPI_TOKEN }}
|
--password ${{ secrets.PYPI_TOKEN }}
|
||||||
--interpreter python${{ matrix.python }}
|
--interpreter python${{ matrix.python }}
|
||||||
|
|
||||||
Windows:
|
|
||||||
runs-on: windows-latest
|
|
||||||
environment: "Publish wheels"
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
- name: Publish all versions
|
|
||||||
uses: messense/maturin-action@v1
|
|
||||||
with:
|
|
||||||
command: publish
|
|
||||||
args: -m instant-distance-py/Cargo.toml
|
|
||||||
--username __token__
|
|
||||||
--password ${{ secrets.PYPI_TOKEN }}
|
|
||||||
|
|
Loading…
Reference in New Issue