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