CI(neon-build): enable sccache

This commit is contained in:
Alexander Bayandin
2024-06-30 00:57:01 +01:00
parent 61fac26c76
commit 31fa86302f
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -214,6 +214,9 @@ jobs:
BUILD_TYPE: ${{ matrix.build_type }}
GIT_VERSION: ${{ github.event.pull_request.head.sha || github.sha }}
BUILD_TAG: ${{ needs.tag.outputs.build-tag }}
SCCACHE_BUCKET: neon-github-dev
SCCACHE_REGION: eu-central-1
SCCACHE_S3_KEY_PREFIX: sccache
steps:
- name: Fix git ownership
+1 -1
View File
@@ -32,9 +32,9 @@ ARG BUILD_TAG
# Enable https://github.com/mozilla/sccache to cache Rust crates' compilation results in Docker builds.
# Set up sccache to use an AWS S3 bucket for cache results, to reuse it between `docker build` invocations.
ARG RUSTC_WRAPPER
ARG SCCACHE_BUCKET=neon-github-dev
ARG SCCACHE_REGION=eu-central-1
ARG SCCACHE_S3_KEY_PREFIX=sccache
ARG SCCACHE_BUCKET=neon-github-dev
ARG AWS_ACCESS_KEY_ID
ARG AWS_SECRET_ACCESS_KEY