Update CI download location
This commit is contained in:
parent
15950baa0a
commit
cffe1f245d
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user