Update CI download location

This commit is contained in:
Alex Crichton 2016-11-06 00:31:02 -07:00
parent 15950baa0a
commit cffe1f245d
3 changed files with 4 additions and 4 deletions

View File

@ -8,6 +8,6 @@ RUN apt-get install -y --no-install-recommends \
ENTRYPOINT ["sh"]
ENV PATH=$PATH:/rust/bin \
QEMU=freebsd.qcow2.gz \
QEMU=2016-11-06/freebsd.qcow2.gz \
CAN_CROSS=1 \
CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=x86_64-unknown-freebsd10-gcc

View File

@ -5,4 +5,4 @@ RUN apt-get install -y --no-install-recommends \
gcc libc6-dev qemu curl ca-certificates \
genext2fs
ENV PATH=$PATH:/rust/bin \
QEMU=2016-09-07/openbsd-6.0-without-pkgs.qcow2
QEMU=2016-11-06/openbsd-6.0-without-pkgs.qcow2

View File

@ -21,14 +21,14 @@ if [ "$QEMU" != "" ]; then
# image is .gz : download and uncompress it
qemufile=$(echo ${QEMU%.gz} | sed 's/\//__/g')
if [ ! -f $tmpdir/$qemufile ]; then
curl https://people.mozilla.org/~acrichton/libc-test/qemu/$QEMU | \
curl https://s3.amazonaws.com/rust-lang-ci/libc/$QEMU | \
gunzip -d > $tmpdir/$qemufile
fi
else
# plain qcow2 image: just download it
qemufile=$(echo ${QEMU} | sed 's/\//__/g')
if [ ! -f $tmpdir/$qemufile ]; then
curl https://people.mozilla.org/~acrichton/libc-test/qemu/$QEMU \
curl https://s3.amazonaws.com/rust-lang-ci/libc/$QEMU \
> $tmpdir/$qemufile
fi
fi