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"]
|
ENTRYPOINT ["sh"]
|
||||||
|
|
||||||
ENV PATH=$PATH:/rust/bin \
|
ENV PATH=$PATH:/rust/bin \
|
||||||
QEMU=freebsd.qcow2.gz \
|
QEMU=2016-11-06/freebsd.qcow2.gz \
|
||||||
CAN_CROSS=1 \
|
CAN_CROSS=1 \
|
||||||
CARGO_TARGET_X86_64_UNKNOWN_FREEBSD_LINKER=x86_64-unknown-freebsd10-gcc
|
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 \
|
gcc libc6-dev qemu curl ca-certificates \
|
||||||
genext2fs
|
genext2fs
|
||||||
ENV PATH=$PATH:/rust/bin \
|
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
|
# image is .gz : download and uncompress it
|
||||||
qemufile=$(echo ${QEMU%.gz} | sed 's/\//__/g')
|
qemufile=$(echo ${QEMU%.gz} | sed 's/\//__/g')
|
||||||
if [ ! -f $tmpdir/$qemufile ]; then
|
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
|
gunzip -d > $tmpdir/$qemufile
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# plain qcow2 image: just download it
|
# plain qcow2 image: just download it
|
||||||
qemufile=$(echo ${QEMU} | sed 's/\//__/g')
|
qemufile=$(echo ${QEMU} | sed 's/\//__/g')
|
||||||
if [ ! -f $tmpdir/$qemufile ]; then
|
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
|
> $tmpdir/$qemufile
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user