Add sccache
This commit is contained in:
parent
9f9c96454d
commit
f930fe9e17
1 changed files with 5 additions and 1 deletions
|
@ -8,10 +8,14 @@ steps:
|
|||
environment:
|
||||
HOSTNAME: 'https://sleutel.boerlage.me'
|
||||
RUSTC_WRAPPER: '/usr/bin/sccache'
|
||||
SCCACHE_BUCKET: 'sccache'
|
||||
SCCACHE_ENDPOINT: '10.1.1.148:9000'
|
||||
SCCACHE_S3_USE_SSL: false
|
||||
CARGO_INCREMENTAL: '0'
|
||||
secrets: [ sccache_aws_access_key_id, sccache_aws_secret_access_key ]
|
||||
commands:
|
||||
- apk add sccache clang build-base protoc
|
||||
- cargo build --release
|
||||
- AWS_ACCESS_KEY_ID=$SCCACHE_AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY=$SCCACHE_AWS_SECRET_ACCESS_KEY cargo build --release
|
||||
containerize:
|
||||
image: docker:24-dind
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue