chore: update ci install dep script (#3244)

* chore: only install needed lib

* lint
This commit is contained in:
Yihau Chen 2022-06-15 10:40:08 +08:00 committed by GitHub
parent 11ef88a505
commit a7055d556c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 12 deletions

View File

@ -2,14 +2,6 @@
set -ex
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main"
sudo apt-get update
sudo apt-get install -y clang-7 --allow-unauthenticated
sudo apt-get install -y openssl --allow-unauthenticated
sudo apt-get install -y libssl-dev --allow-unauthenticated
sudo apt-get install -y libssl1.1 --allow-unauthenticated
sudo apt-get install -y libudev-dev
sudo apt-get install -y binutils-dev
sudo apt-get install -y libunwind-dev
clang-7 --version
sudo apt install libudev-dev -y
sudo apt install binutils-dev -y
sudo apt install libunwind-dev -y

View File

@ -27,7 +27,6 @@ else
nightly_version=2022-02-24
fi
export rust_stable="$stable_version"
export rust_stable_docker_image=solanalabs/rust:"$stable_version"