Made rust compilation also use sscache and also display it's building time

This commit is contained in:
mr. m
2025-02-24 23:16:51 +01:00
parent 382dcc8d0c
commit 59e8c120e2
3 changed files with 24 additions and 2 deletions

View File

@@ -26,6 +26,10 @@ jobs:
fail-fast: false
matrix:
arch: [x86_64, aarch64]
env:
SCCACHE_GHA_ENABLED: 'true'
CARGO_TERM_COLOR: always
RUSTC_WRAPPER: 'sccache'
name: Build Linux - ${{ matrix.arch }}
steps:
@@ -143,3 +147,7 @@ jobs:
retention-days: 5
name: linux_update_manifest_${{ matrix.arch }}
path: ./dist/update
- name: Run sccache stat for check
shell: bash
run: ${SCCACHE_PATH} --show-stats