mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2025-02-09 01:26:57 +00:00
Use fetch instead of curl during CI on FreeBSD
This commit is contained in:
parent
2c9ff688c9
commit
92290affeb
@ -12,8 +12,7 @@ task:
|
|||||||
fingerprint_script: cat Cargo.lock || echo ""
|
fingerprint_script: cat Cargo.lock || echo ""
|
||||||
# Install Rust
|
# Install Rust
|
||||||
setup_script:
|
setup_script:
|
||||||
- pkg install -y curl
|
- fetch https://sh.rustup.rs -o rustup.sh
|
||||||
- curl https://sh.rustup.rs -sSf --output rustup.sh
|
|
||||||
- sh rustup.sh -y --profile=minimal --default-toolchain 1.36.0
|
- sh rustup.sh -y --profile=minimal --default-toolchain 1.36.0
|
||||||
- $HOME/.cargo/bin/rustup target add i686-unknown-freebsd
|
- $HOME/.cargo/bin/rustup target add i686-unknown-freebsd
|
||||||
amd64_test_script:
|
amd64_test_script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user