diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3a5e4cf..4bb7a80 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,6 +7,15 @@ on: pull_request: branches: [main] +env: + RUSTC_WRAPPER: sccache + SCCACHE_BUCKET: sccache + SCCACHE_ENDPOINT: http://caveman.kosherinata.internal:9000 + SCCACHE_REGION: auto + SCCACHE_S3_USE_SSL: "false" + AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_S3_ACCESS_KEY }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_S3_SECRET_KEY }} + jobs: check: name: Format, lint, build, test @@ -26,6 +35,9 @@ jobs: - name: Test run: cargo test --workspace + - name: Show sccache stats + run: sccache --show-stats + srpm-cortex: name: Build cortex SRPM runs-on: fedora