From b082a83cafc872ea19d9792644c012b5f9b13974 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Thu, 25 Feb 2016 19:19:57 +0100 Subject: Switch CI from nightly to 1.6 Switch to old version detection --- ci/before_deploy.sh | 1 - ci/install.sh | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index 233ae9e..6493f96 100644 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -5,7 +5,6 @@ set -ex # create a "staging" directory mkdir staging -# TODO update this part to copy the artifacts that make sense for your project # NOTE All Cargo build artifacts will be under the 'target/$TARGET/{debug,release}' cp target/$TARGET/release/ilc* staging diff --git a/ci/install.sh b/ci/install.sh index 81ff38c..e4bd198 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -24,6 +24,10 @@ EOF # doesn't work for nightly # version=$(rustc -V | cut -d' ' -f2) version=$(rustc -V | cut -d' ' -f2 | cut -d'-' -f2) + + if [ "$TARGET" = "x86_64-unknown-linux-musl" ]; then + version="nightly" + fi tarball=rust-std-${version}-${TARGET} curl -Os http://static.rust-lang.org/dist/${tarball}.tar.gz -- cgit v1.2.3