78
78
# We're using a specific version of macOS due to:
79
79
# https://github.com/actions/virtual-environments/issues/5900
80
80
- macOS-latest
81
- include :
82
- - compile_cache : sccache
83
-
84
- - compile_cache : ccache
85
- os : macos-latest
86
81
steps :
87
82
- name : Setup Windows
88
83
if : startsWith(matrix.os, 'windows')
@@ -106,7 +101,7 @@ jobs:
106
101
- uses : actions/checkout@v4
107
102
with :
108
103
fetch-depth : 250
109
- - name : Setup ${{ matrix.compile_cache }}
104
+ - name : Setup ccache
110
105
uses : hendrikmuhs/ccache-action@v1
111
106
with :
112
107
# A full build of llvm, clang, lld, and lldb takes about 250MB
@@ -118,8 +113,8 @@ jobs:
118
113
# fit under the 10 GB limit.
119
114
# Default to 2G to workaround: https://github.com/hendrikmuhs/ccache-action/issues/174
120
115
max-size : 2G
121
- key : ${{ matrix.compile_cache }}-${{ matrix. os }}
122
- variant : ${{ matrix.compile_cache }}
116
+ key : ${{ matrix.os }}
117
+ variant : sccache
123
118
- name : Build and Test
124
119
if : " !startsWith(matrix.os, 'windows')"
125
120
env :
@@ -160,6 +155,8 @@ jobs:
160
155
161
156
- name : Build and Test libclc
162
157
if : " !startsWith(matrix.os, 'windows') && !startsWith(matrix.os, 'macOS') && contains(inputs.projects, 'libclc')"
158
+ env :
159
+ LLVM_BUILDDIR : ${{ steps.build-llvm.outputs.llvm-builddir }}
163
160
run : |
164
161
# The libclc tests don't have a generated check target so all we can
165
162
# do is build it.
0 commit comments