Publish python packages (#117)

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2024-01-28 23:12:06 -08:00
committed by GitHub
parent bf75813c43
commit ca91c0ea20
2 changed files with 15 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
# This file is autogenerated by maturin v1.4.0
# To update, run
#
# maturin generate-ci github --zig
# maturin generate-ci --manifest-path bindings/python/Cargo.toml github
#
name: publish-python
@@ -26,7 +26,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter --zig
args: --release --out dist --find-interpreter --manifest-path bindings/python/Cargo.toml
sccache: 'true'
manylinux: auto
- name: Upload wheels
@@ -50,7 +50,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --manifest-path bindings/python/Cargo.toml
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
@@ -62,7 +62,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
target: [x86_64, aarch64]
target: [x86_64, aarch64, universal2-apple-darwin]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
@@ -72,7 +72,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
args: --release --out dist --find-interpreter --manifest-path bindings/python/Cargo.toml
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
@@ -88,7 +88,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
command: sdist
args: --out dist
args: --out dist --manifest-path bindings/python/Cargo.toml
- name: Upload sdist
uses: actions/upload-artifact@v3
with: