Mirror the rustc-perf source

This avoids issues with the GitHub /archive/ links which can be somewhat
unreliable and are currently causing CI issues.
This commit is contained in:
Mark Rousskov 2023-09-04 13:21:05 -04:00
parent bf1e3f31f9
commit fe6c863f0b
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ ENV CC=clang CXX=clang++
# rustc-perf version from 2023-05-30
# Should also be changed in the opt-dist tool for other environments.
ENV PERF_COMMIT 8b2ac3042e1ff2c0074455a0a3618adef97156b1
RUN curl -LS -o perf.zip https://github.com/rust-lang/rustc-perf/archive/$PERF_COMMIT.zip && \
RUN curl -LS -o perf.zip https://ci-mirrors.rust-lang.org/rustc/rustc-perf-$PERF_COMMIT.zip && \
unzip perf.zip && \
mv rustc-perf-$PERF_COMMIT rustc-perf && \
rm perf.zip