ci_install_rust.sh 406 Bytes
Newer Older
1
2
3
#!/bin/bash
set -euxo pipefail

4
5
6
7
8
9
10
11
12
# these are required for actix
apt-get update
apt-get install -y libssl-dev pkg-config

# Install rustup (Rust installer and version manager)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y


# Follow the installation prompts, then reload your shell
13
. "$HOME/.cargo/env"
14
15
16
17
source $HOME/.cargo/env

# Verify installation
rustc --version
18
cargo --version