From f3dc1b3d46905ffdcc066714a38ffafeba69e346 Mon Sep 17 00:00:00 2001 From: core Date: Sun, 7 Apr 2024 13:07:44 -0400 Subject: [PATCH] sccache test --- .woodpecker/.backplane.yaml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.woodpecker/.backplane.yaml b/.woodpecker/.backplane.yaml index 65fd8c341655f722bf910f22c1b06a2c54224545..8d9ef60672ac8a7d5f635608efa19fa4d965c282 100644 --- a/.woodpecker/.backplane.yaml +++ b/.woodpecker/.backplane.yaml @@ -6,6 +6,14 @@ steps: - rustfmt **/*.rs --check --edition 2021 --color always environment: CARGO_INCREMENTAL: "0" + SCCACHE_ENDPOINT: https://eaa2f15b55afa10361622796530d22c6.r2.cloudflarestorage.com/stk-sccache + SCCACHE_BUCKET: stk-sccache + SCCACHE_REGION: auto + AWS_ACCESS_KEY_ID: + from_secret: s3_id + AWS_SECRET_ACCESS_KEY: + from_secret: s3_key + RUSTC_WRAPPER: sccache - name: backplane_clippy image: registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/build_env:2024040603 commands: @@ -13,10 +21,26 @@ steps: - cargo clippy --profile release-ci --color always environment: CARGO_INCREMENTAL: "0" + SCCACHE_ENDPOINT: https://eaa2f15b55afa10361622796530d22c6.r2.cloudflarestorage.com/stk-sccache + SCCACHE_BUCKET: stk-sccache + SCCACHE_REGION: auto + AWS_ACCESS_KEY_ID: + from_secret: s3_id + AWS_SECRET_ACCESS_KEY: + from_secret: s3_key + RUSTC_WRAPPER: sccache - name: backplane_build image: registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/build_env:2024040603 commands: - cd starkingdoms-backplane - cargo build --profile release-ci --color always environment: - CARGO_INCREMENTAL: "0" \ No newline at end of file + CARGO_INCREMENTAL: "0" + SCCACHE_ENDPOINT: https://eaa2f15b55afa10361622796530d22c6.r2.cloudflarestorage.com/stk-sccache + SCCACHE_BUCKET: stk-sccache + SCCACHE_REGION: auto + AWS_ACCESS_KEY_ID: + from_secret: s3_id + AWS_SECRET_ACCESS_KEY: + from_secret: s3_key + RUSTC_WRAPPER: sccache \ No newline at end of file