~starkingdoms/starkingdoms

7baab76c89652e871b4821413b76dcc32a1d20e9 — core 1 year, 8 months ago 3d0d439
sccache for server
1 files changed, 24 insertions(+), 0 deletions(-)

M .woodpecker/.server.yaml
M .woodpecker/.server.yaml => .woodpecker/.server.yaml +24 -0
@@ 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: server_clippy
    image: registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/build_env:2024040603
    commands:


@@ 13,6 21,14 @@ 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: server_build
    image: registry.gitlab.com/starkingdoms.tk/starkingdoms.tk/build_env:2024040603
    commands:


@@ 20,3 36,11 @@ steps:
      - cargo build --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
\ No newline at end of file