This commit is contained in:
Simon Sapin 2018-09-18 19:05:59 +02:00
parent 5e08c83387
commit e5902fed9b
2 changed files with 57 additions and 46 deletions

View file

@ -12,7 +12,9 @@ ENV \
# https://stackoverflow.com/questions/44331836/apt-get-install-tzdata-noninteractive
DEBIAN_FRONTEND=noninteractive
RUN apt-get update -q && apt-get install -qy --no-install-recommends \
RUN \
apt-get update -q && \
apt-get install -qy --no-install-recommends \
#
# Cloning the repository
git \
@ -58,5 +60,13 @@ RUN apt-get update -q && apt-get install -qy --no-install-recommends \
#
#
&& \
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
#
#
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y && \
#
#
curl -sSfL \
https://github.com/mozilla/sccache/releases/download/0.2.7/sccache-0.2.7-x86_64-unknown-linux-musl.tar.gz \
| tar -xz --strip-components=1 -C /usr/local/bin/ \
sccache-0.2.7-x86_64-unknown-linux-musl/sccache

View file

@ -46,6 +46,7 @@ def main():
decision.create_task_with_in_tree_dockerfile(
task_name="Linux x86_64: tidy + dev build + unit tests",
command="""
sccache --version
./mach test-tidy --no-progress --all
#./mach build --dev
#./mach test-unit