GeezerVison is showing github.com — tools: cache Rust builds in GHA workflows · nodejs/node@0c0002a
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/build-tarball.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -103,6 +103,7 @@ jobs: |
103 | 103 | CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19 |
104 | 104 | SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }} |
105 | 105 | SCCACHE_IDLE_TIMEOUT: '0' |
| 106 | + CARGO_BUILD_RUSTC_WRAPPER: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} |
106 | 107 | steps: |
107 | 108 | - name: Install Clang ${{ env.CLANG_VERSION }} |
108 | 109 | uses: $/.github/actions/install-clang |
|
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/coverage-linux-without-intl.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
41 | 41 | CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19 |
42 | 42 | SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }} |
43 | 43 | SCCACHE_IDLE_TIMEOUT: '0' |
| 44 | + CARGO_BUILD_RUSTC_WRAPPER: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} |
44 | 45 |
|
45 | 46 | permissions: |
46 | 47 | contents: read |
|
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/coverage-linux.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
41 | 41 | CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19 |
42 | 42 | SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }} |
43 | 43 | SCCACHE_IDLE_TIMEOUT: '0' |
| 44 | + CARGO_BUILD_RUSTC_WRAPPER: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} |
44 | 45 |
|
45 | 46 | permissions: |
46 | 47 | contents: read |
|
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/stress-test.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
53 | 53 | # test-linux.yml and test-macos.yml running on the main branch. |
54 | 54 | SCCACHE_GHA_ENABLED: 'true' |
55 | 55 | SCCACHE_IDLE_TIMEOUT: '0' |
| 56 | + CARGO_BUILD_RUSTC_WRAPPER: sccache |
56 | 57 | steps: |
57 | 58 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
58 | 59 | with: |
|
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/test-internet.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
46 | 46 | CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19 |
47 | 47 | SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }} |
48 | 48 | SCCACHE_IDLE_TIMEOUT: '0' |
| 49 | + CARGO_BUILD_RUSTC_WRAPPER: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} |
49 | 50 |
|
50 | 51 | permissions: |
51 | 52 | contents: read |
|
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/test-linux-perfetto.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
27 | 27 | CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19 |
28 | 28 | SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }} |
29 | 29 | SCCACHE_IDLE_TIMEOUT: '0' |
| 30 | + CARGO_BUILD_RUSTC_WRAPPER: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} |
30 | 31 | RUSTC_VERSION: '1.88' |
31 | 32 |
|
32 | 33 | permissions: |
|
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/test-linux-quic.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
38 | 38 | CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19 |
39 | 39 | SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }} |
40 | 40 | SCCACHE_IDLE_TIMEOUT: '0' |
| 41 | + CARGO_BUILD_RUSTC_WRAPPER: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} |
41 | 42 | RUSTC_VERSION: '1.88' |
42 | 43 |
|
43 | 44 | permissions: |
|
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/test-linux.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
46 | 46 | CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19 |
47 | 47 | SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }} |
48 | 48 | SCCACHE_IDLE_TIMEOUT: '0' |
| 49 | + CARGO_BUILD_RUSTC_WRAPPER: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} |
49 | 50 | RUSTC_VERSION: '1.88' |
50 | 51 |
|
51 | 52 | permissions: |
|
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/test-macos.yml +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
84 | 84 | CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} g++ |
85 | 85 | SCCACHE_GHA_ENABLED: ${{ github.base_ref == 'main' || github.ref_name == 'main' }} |
86 | 86 | SCCACHE_IDLE_TIMEOUT: '0' |
| 87 | + CARGO_BUILD_RUSTC_WRAPPER: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} |
87 | 88 | steps: |
88 | 89 | - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
89 | 90 | with: |
|