From 4ec2fbe6818c791ddf44cbd87810417bd2e7a93c Mon Sep 17 00:00:00 2001 From: HackFisher Date: Mon, 8 Jul 2019 20:13:17 +0800 Subject: [PATCH] update script.sh --- ci/script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/script.sh b/ci/script.sh index 5d5f1d2c6..67dcd4e89 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -3,7 +3,7 @@ set -eux # Install rustup and the specified rust toolchain. -curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$RUST_TOOLCHAIN -y +curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$1 -y # Load cargo environment. Specifically, put cargo into PATH. source ~/.cargo/env @@ -12,7 +12,7 @@ rustc --version rustup --version cargo --version -case $TARGET in +case $2 in "native") sudo apt-get -y update sudo apt-get install -y cmake pkg-config libssl-dev