diff options
author | Wesley Moore <wes@wezm.net> | 2018-03-16 08:23:01 +1100 |
---|---|---|
committer | Wesley Moore <wes@wezm.net> | 2018-03-16 08:23:01 +1100 |
commit | c1fa4b68a89abf8fc30115402a9eb1abf8bc0196 (patch) | |
tree | 6870911f3cd59c99e08116fe9d7cd456d6cb13b0 /ci/run.sh | |
parent | d3e6651ff8bce60a68f66e79d858f81950d85de7 (diff) | |
download | rust-libc-c1fa4b68a89abf8fc30115402a9eb1abf8bc0196.tar.gz |
Update FreeBSD docker CI to use FreeBSD 11.1 image
Diffstat (limited to 'ci/run.sh')
-rwxr-xr-x | ci/run.sh | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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') |