File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,16 @@ jobs:
15
15
include :
16
16
- runner : [runs-on, runner=32cpu-linux-x64, "run-id=${{ github.run_id }}"]
17
17
os : ubuntu
18
+ cachekey : ubuntu-x86
18
19
- runner : [runs-on, runner=32cpu-linux-arm64, "run-id=${{ github.run_id }}"]
19
20
os : ubuntu
21
+ cachekey : ubuntu-arm64
20
22
- runner : self-hosted
21
23
os : macos
24
+ cachekey : macos-arm64
22
25
- runner : macos-13
23
26
os : macos
27
+ cachekey : macos-x86
24
28
runs-on : ${{ matrix.runner }}
25
29
timeout-minutes : 120
26
30
steps :
65
69
~/.cargo/registry/cache/
66
70
~/.cargo/git/db/
67
71
athena/target/
68
- key : ${{ matrix.os }}-athenabuild-${{ hashFiles('athena/**/Cargo.toml') }}
72
+ key : ${{ matrix.cachekey }}-athenabuild-${{ hashFiles('athena/**/Cargo.toml') }}
69
73
70
74
- uses : actions/cache@v4
71
75
name : Cache Rust toolchain
76
80
toolchain/rust/src/doc
77
81
toolchain/rust/src/llvm-project
78
82
toolchain/rust/src/tools
79
- key : ${{ matrix.os }}-rusttoolchain-${{ env.RUST_COMMIT }}
83
+ key : ${{ matrix.cachekey }}-rusttoolchain-${{ env.RUST_COMMIT }}
80
84
81
85
- name : Build
82
86
run :
You can’t perform that action at this time.
0 commit comments