mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-04 00:44:52 +08:00
move source code to public
This commit is contained in:
19
images/macos/provision/core/rust.sh
Normal file
19
images/macos/provision/core/rust.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
echo Installing Rustup...
|
||||
brew install rustup-init
|
||||
|
||||
echo Installing Rust language...
|
||||
rustup-init -y --no-modify-path --default-toolchain=stable --profile=minimal
|
||||
|
||||
echo Initialize environment variables...
|
||||
CARGO_HOME=$HOME/.cargo
|
||||
source $CARGO_HOME/env
|
||||
|
||||
echo Install common tools...
|
||||
cargo install bindgen cbindgen cargo-audit cargo-outdated
|
||||
|
||||
echo Cleanup Cargo registry cached data...
|
||||
rm -rf $CARGO_HOME/registry/*
|
||||
Reference in New Issue
Block a user