Install latest Rust manually for dockerized tests

This commit is contained in:
lepapareil 2022-01-18 22:15:11 +01:00 committed by Fabrice Reix
parent c0b1acb5eb
commit 8a6c6dc6a7

View File

@ -158,7 +158,10 @@ jobs:
uname -m
echo "----- install build prerequisites -----"
pacman -Syy --noconfirm
pacman -Sy --noconfirm curl icu base-devel libxml2 python3 cargo
pacman -Sy --noconfirm curl icu base-devel libxml2 python3
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
sh rustup.sh -y
source $HOME/.cargo/env
curl -O https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
rustc --version
@ -203,7 +206,10 @@ jobs:
uname -a
uname -m
echo "----- install build prerequisites -----"
yum install -y procps gcc libxml2-devel openssl-devel libcurl-devel python3-devel python3-pip cargo
yum install -y procps gcc libxml2-devel openssl-devel libcurl-devel python3-devel python3-pip
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
sh rustup.sh -y
source $HOME/.cargo/env
rustc --version
cargo --version
echo "----- build -----"
@ -248,7 +254,10 @@ jobs:
uname -m
echo "----- install build prerequisites -----"
apk update --quiet
apk add --quiet bash cargo curl build-base libffi-dev libxml2-dev libxml2-utils openssl-dev python3 python3-dev py3-pip
apk add --quiet bash curl build-base libffi-dev libxml2-dev libxml2-utils openssl-dev python3 python3-dev py3-pip
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
sh rustup.sh -y
source $HOME/.cargo/env
rustc --version
cargo --version
echo "----- build -----"