mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
* set -e and fix all the scripts * add source utils to finalize_vm script * change xcode version in postbuild script * fix for softwareupdates and for xcode version
17 lines
440 B
Bash
17 lines
440 B
Bash
#!/bin/bash -e -o pipefail
|
|
|
|
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/* |