CI workflow
This commit is contained in:
@@ -54,11 +54,11 @@ jobs:
|
|||||||
export PATH="$CARGO_HOME/bin:$PATH"
|
export PATH="$CARGO_HOME/bin:$PATH"
|
||||||
if ! command -v rustc >/dev/null 2>&1; then
|
if ! command -v rustc >/dev/null 2>&1; then
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
source "$CARGO_HOME/env" 2>/dev/null || true
|
|
||||||
rustup default nightly
|
|
||||||
rustup target add x86_64-unknown-linux-gnu
|
|
||||||
rustup target add x86_64-pc-windows-msvc
|
|
||||||
fi
|
fi
|
||||||
|
source "$CARGO_HOME/env" 2>/dev/null || true
|
||||||
|
rustup default nightly
|
||||||
|
rustup target add x86_64-unknown-linux-gnu
|
||||||
|
rustup target add x86_64-pc-windows-msvc
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Install sccache and maturin
|
- name: Install sccache and maturin
|
||||||
|
|||||||
Reference in New Issue
Block a user