CI workflow
This commit is contained in:
@@ -18,7 +18,7 @@ permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
wheels:
|
||||
runs-on: ${{ matrix.platform.runner }}
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -78,7 +78,8 @@ jobs:
|
||||
export CARGO_HOME="${{ runner.temp }}/cargo"
|
||||
source "$CARGO_HOME/env" 2>/dev/null || true
|
||||
maturin sdist --out dist
|
||||
maturin build --release --out dist --target x86_64-pc-windows-msvc -i python3.14
|
||||
rustup target add x86_64-pc-windows-msvc --toolchain nightly
|
||||
maturin build --release --out dist --target x86_64-pc-windows-msvc
|
||||
maturin build --release --out dist --target x86_64-unknown-linux-gnu
|
||||
|
||||
- name: Upload wheels
|
||||
@@ -90,7 +91,7 @@ jobs:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
||||
needs: [linux]
|
||||
needs: [wheels]
|
||||
permissions:
|
||||
# Use to sign the release artifacts
|
||||
id-token: write
|
||||
|
||||
Reference in New Issue
Block a user