@@ -37,37 +37,18 @@ jobs:
37
37
with :
38
38
go-version : ' 1.20'
39
39
cache : true
40
- - name : Restore cached LLVM source
40
+ - name : Restore cached LLVM build
41
41
uses : actions/cache/restore@v3
42
- id : cache-llvm-source
43
- with :
44
- key : llvm-source-15-windows-v2-${{ hashFiles('llvm-project/llvm/include') }}
45
- path : |
46
- llvm-project/clang/lib/Headers
47
- llvm-project/clang/include
48
- llvm-project/compiler-rt
49
- llvm-project/lld/include
50
- llvm-project/llvm/include
51
- - name : Download LLVM source
52
- if : steps.cache-llvm-source.outputs.cache-hit != 'true'
53
- run : make llvm-source
54
- - name : Save cached LLVM source
55
- uses : actions/cache/save@v3
56
- if : always()
42
+ id : cache-llvm-build
57
43
with :
58
- key : llvm-source -15-windows-v2 -${{ hashFiles('llvm-project/llvm/include') }}
44
+ key : llvm-build -15-windows-v3 -${{ hashFiles('llvm-project/llvm/include') }}
59
45
path : |
60
46
llvm-project/clang/lib/Headers
61
47
llvm-project/clang/include
62
48
llvm-project/compiler-rt
63
49
llvm-project/lld/include
64
50
llvm-project/llvm/include
65
- - name : Restore cached LLVM build
66
- uses : actions/cache/restore@v3
67
- id : cache-llvm-build
68
- with :
69
- key : llvm-build-15-windows-v3-${{ hashFiles('llvm-build') }}
70
- path : llvm-build
51
+ llvm-build
71
52
- name : Build LLVM
72
53
if : steps.cache-llvm-build.outputs.cache-hit != 'true'
73
54
shell : bash
83
64
uses : actions/cache/save@v3
84
65
if : always()
85
66
with :
86
- key : llvm-build-15-windows-v3-${{ hashFiles('llvm-build') }}
87
- path : llvm-build
67
+ key : llvm-build-15-windows-v3-${{ hashFiles('llvm-project/llvm/include') }}
68
+ path : |
69
+ llvm-project/clang/lib/Headers
70
+ llvm-project/clang/include
71
+ llvm-project/compiler-rt
72
+ llvm-project/lld/include
73
+ llvm-project/llvm/include
74
+ llvm-build
88
75
- name : Cache wasi-libc sysroot
89
76
uses : actions/cache@v3
90
77
id : cache-wasi-libc
0 commit comments