ci: fix
This commit is contained in:
parent
14577daf7f
commit
dee0490829
|
|
@ -1,7 +1,7 @@
|
||||||
image: rust:1-buster
|
image: rust:1-buster
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
SCCACHE_URL: https://github.com/mozilla/sccache/releases/download/0.2.8/sccache-0.2.8-x86_64-unknown-linux-musl.tar.gz
|
SCCACHE_URL: https://github.com/mozilla/sccache/releases/download/0.2.10/sccache-0.2.10-x86_64-unknown-linux-musl.tar.gz
|
||||||
CARGO_TARGET_DIR: ${CI_PROJECT_DIR}/target
|
CARGO_TARGET_DIR: ${CI_PROJECT_DIR}/target
|
||||||
CARGO_HOME: ${CI_PROJECT_DIR}/cargo
|
CARGO_HOME: ${CI_PROJECT_DIR}/cargo
|
||||||
SCCACHE_DIR: ${CI_PROJECT_DIR}/sccache
|
SCCACHE_DIR: ${CI_PROJECT_DIR}/sccache
|
||||||
|
|
@ -10,7 +10,7 @@ variables:
|
||||||
before_script:
|
before_script:
|
||||||
# TODO: use libostree from unstable
|
# TODO: use libostree from unstable
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y cmake libostree-dev
|
- apt-get install -y libostree-dev
|
||||||
- wget -O - ${SCCACHE_URL} | tar -C /usr/bin/ -xz --wildcards --strip-components=1 '*/sccache'
|
- wget -O - ${SCCACHE_URL} | tar -C /usr/bin/ -xz --wildcards --strip-components=1 '*/sccache'
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue