Skip to content
Snippets Groups Projects
Commit cffe1f24 authored by Alex Crichton's avatar Alex Crichton
Browse files

Update CI download location

parent 15950baa
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,6 @@ RUN apt-get install -y --no-install-recommends \ ...@@ -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 \ ...@@ -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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment