summaryrefslogtreecommitdiff
path: root/ci/run.sh
diff options
context:
space:
mode:
authorWesley Moore <wes@wezm.net>2018-03-16 08:23:01 +1100
committerWesley Moore <wes@wezm.net>2018-03-16 08:23:01 +1100
commitc1fa4b68a89abf8fc30115402a9eb1abf8bc0196 (patch)
tree6870911f3cd59c99e08116fe9d7cd456d6cb13b0 /ci/run.sh
parentd3e6651ff8bce60a68f66e79d858f81950d85de7 (diff)
downloadrust-libc-c1fa4b68a89abf8fc30115402a9eb1abf8bc0196.tar.gz
Update FreeBSD docker CI to use FreeBSD 11.1 image
Diffstat (limited to 'ci/run.sh')
-rwxr-xr-xci/run.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/run.sh b/ci/run.sh
index 8a1d10b29e..ff74899cbb 100755
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -24,6 +24,13 @@ if [ "$QEMU" != "" ]; then
curl https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc/$QEMU | \
gunzip -d > $tmpdir/$qemufile
fi
+ elif [ -z "${QEMU#*.xz}" ]; then
+ # image is .xz : download and uncompress it
+ qemufile=$(echo ${QEMU%.xz} | sed 's/\//__/g')
+ if [ ! -f $tmpdir/$qemufile ]; then
+ curl https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc/$QEMU | \
+ unxz > $tmpdir/$qemufile
+ fi
else
# plain qcow2 image: just download it
qemufile=$(echo ${QEMU} | sed 's/\//__/g')