CI workflow
This commit is contained in:
@@ -57,8 +57,8 @@ jobs:
|
|||||||
source "$CARGO_HOME/env" 2>/dev/null || true
|
source "$CARGO_HOME/env" 2>/dev/null || true
|
||||||
rustup default nightly
|
rustup default nightly
|
||||||
rustup target add x86_64-unknown-linux-gnu
|
rustup target add x86_64-unknown-linux-gnu
|
||||||
|
rustup target add x86_64-pc-windows-msvc
|
||||||
fi
|
fi
|
||||||
rustup target add "${{ matrix.platform.target }}" || true
|
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Install sccache and maturin
|
- name: Install sccache and maturin
|
||||||
@@ -78,12 +78,13 @@ jobs:
|
|||||||
export CARGO_HOME="${{ runner.temp }}/cargo"
|
export CARGO_HOME="${{ runner.temp }}/cargo"
|
||||||
export PATH="$CARGO_HOME/bin:$PATH"
|
export PATH="$CARGO_HOME/bin:$PATH"
|
||||||
maturin sdist --out dist
|
maturin sdist --out dist
|
||||||
maturin build --release --out dist --find-interpreter --target ${{ matrix.platform.target }}
|
maturin build --release --out dist --find-interpreter --target x86_64-unknown-linux-gnu
|
||||||
|
maturin build --release --out dist --find-interpreter --target x86_64-pc-windows-msvc
|
||||||
|
|
||||||
- name: Upload wheels
|
- name: Upload wheels
|
||||||
uses: actions/upload-artifact@v3.2.2
|
uses: actions/upload-artifact@v3.2.2
|
||||||
with:
|
with:
|
||||||
path: dist/wheels-*
|
path: dist/kmeans-*
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: Release
|
name: Release
|
||||||
|
|||||||
Reference in New Issue
Block a user