Hopefully fix sccache configuration

This commit is contained in:
Olivier 'reivilibre' 2021-11-14 16:16:01 +00:00
parent 333452f409
commit 3c5e34bf71
1 changed files with 6 additions and 6 deletions

View File

@ -18,11 +18,12 @@ pipeline:
- DEBIAN_FRONTEND=noninteractive apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev > /dev/null - DEBIAN_FRONTEND=noninteractive apt-get -qq update && apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev > /dev/null
- cargo build --all - cargo build --all
- cargo test --all - cargo test --all
- ls ~/.cache/sccache || :
- sccache --show-stats
environment: environment:
RUSTC_WRAPPER: /usr/local/bin/sccache RUSTC_WRAPPER: /usr/local/bin/sccache
SCCACHE_S3_USE_SLL: "true" SCCACHE_S3_USE_SSL: "true"
SCCACHE_ENDPOINT: "richie.m4.tanukitsu.net" SCCACHE_ENDPOINT: "richie.m4.tanukitsu.net:443"
#SCCACHE_S3_KEY_PREFIX: "yama"
secrets: secrets:
- sccache_bucket - sccache_bucket
- aws_access_key_id - aws_access_key_id
@ -46,9 +47,8 @@ pipeline:
- cd testsuite && . .venv/bin/activate && TEST_POSTGRES=$(hostname),testsuitedb,root TEST_MYSQL=$(hostname),testsuitemydb,root green - cd testsuite && . .venv/bin/activate && TEST_POSTGRES=$(hostname),testsuitedb,root TEST_MYSQL=$(hostname),testsuitemydb,root green
environment: environment:
RUSTC_WRAPPER: /usr/local/bin/sccache RUSTC_WRAPPER: /usr/local/bin/sccache
SCCACHE_S3_USE_SLL: "true" SCCACHE_S3_USE_SSL: "true"
SCCACHE_ENDPOINT: "richie.m4.tanukitsu.net" SCCACHE_ENDPOINT: "richie.m4.tanukitsu.net:443"
#SCCACHE_S3_KEY_PREFIX: "yama"
secrets: secrets:
- sccache_bucket - sccache_bucket
- aws_access_key_id - aws_access_key_id