mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
sccache
This commit is contained in:
parent
5e08c83387
commit
e5902fed9b
2 changed files with 57 additions and 46 deletions
|
@ -12,7 +12,9 @@ ENV \
|
||||||
# https://stackoverflow.com/questions/44331836/apt-get-install-tzdata-noninteractive
|
# https://stackoverflow.com/questions/44331836/apt-get-install-tzdata-noninteractive
|
||||||
DEBIAN_FRONTEND=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
|
# Cloning the repository
|
||||||
git \
|
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
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@ def main():
|
||||||
decision.create_task_with_in_tree_dockerfile(
|
decision.create_task_with_in_tree_dockerfile(
|
||||||
task_name="Linux x86_64: tidy + dev build + unit tests",
|
task_name="Linux x86_64: tidy + dev build + unit tests",
|
||||||
command="""
|
command="""
|
||||||
|
sccache --version
|
||||||
./mach test-tidy --no-progress --all
|
./mach test-tidy --no-progress --all
|
||||||
#./mach build --dev
|
#./mach build --dev
|
||||||
#./mach test-unit
|
#./mach test-unit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue