1818 TEST_FATAL_WARNINGS : ${{ github.event.inputs.fatal_warnings }}
1919
2020jobs :
21- sources :
22- name : Download sources
21+ prelude :
22+ name : Initial setup
2323 runs-on : ubuntu-latest
2424 outputs :
2525 cache-key : ${{ steps.cache-key.outputs.cache-key }}
6363 if : github.event_name != 'schedule' || github.repository == 'mesonbuild/wrapdb'
6464 name : Ubuntu (${{ matrix.platform }})
6565 runs-on : ${{ matrix.runner }}
66- needs : sources
66+ needs : prelude
6767 strategy :
6868 matrix :
6969 include :
8585 - name : Restore sources
8686 uses : actions/cache/restore@v4
8787 with :
88- key : ${{ needs.sources .outputs.cache-key }}
88+ key : ${{ needs.prelude .outputs.cache-key }}
8989 path : subprojects/packagecache
9090 enableCrossOsArchive : true
9191 fail-on-cache-miss : true
9898 if : github.event_name != 'schedule' || github.repository == 'mesonbuild/wrapdb'
9999 name : Alpine (${{ matrix.platform }})
100100 runs-on : ${{ matrix.runner }}
101- needs : sources
101+ needs : prelude
102102 strategy :
103103 matrix :
104104 include :
@@ -124,7 +124,7 @@ jobs:
124124 - name : Restore sources
125125 uses : actions/cache/restore@v4
126126 with :
127- key : ${{ needs.sources .outputs.cache-key }}
127+ key : ${{ needs.prelude .outputs.cache-key }}
128128 path : subprojects/packagecache
129129 enableCrossOsArchive : true
130130 fail-on-cache-miss : true
@@ -140,7 +140,7 @@ jobs:
140140 VisualStudio :
141141 if : github.event_name != 'schedule' || github.repository == 'mesonbuild/wrapdb'
142142 runs-on : windows-latest
143- needs : sources
143+ needs : prelude
144144 strategy :
145145 matrix :
146146 platform : ['x64', 'x86']
@@ -168,7 +168,7 @@ jobs:
168168 - name : Restore sources
169169 uses : actions/cache/restore@v4
170170 with :
171- key : ${{ needs.sources .outputs.cache-key }}
171+ key : ${{ needs.prelude .outputs.cache-key }}
172172 path : subprojects/packagecache
173173 enableCrossOsArchive : true
174174 fail-on-cache-miss : true
@@ -180,7 +180,7 @@ jobs:
180180 VisualStudio-clang-cl :
181181 if : github.event_name != 'schedule' || github.repository == 'mesonbuild/wrapdb'
182182 runs-on : windows-latest
183- needs : sources
183+ needs : prelude
184184 env :
185185 CC : clang-cl
186186 CXX : clang-cl
@@ -198,7 +198,7 @@ jobs:
198198 - name : Restore sources
199199 uses : actions/cache/restore@v4
200200 with :
201- key : ${{ needs.sources .outputs.cache-key }}
201+ key : ${{ needs.prelude .outputs.cache-key }}
202202 path : subprojects/packagecache
203203 enableCrossOsArchive : true
204204 fail-on-cache-miss : true
@@ -210,7 +210,7 @@ jobs:
210210 MSYS2 :
211211 if : github.event_name != 'schedule' || github.repository == 'mesonbuild/wrapdb'
212212 runs-on : windows-latest
213- needs : sources
213+ needs : prelude
214214 strategy :
215215 matrix :
216216 platform : ['UCRT64', 'CLANG64']
@@ -245,7 +245,7 @@ jobs:
245245 - name : Restore sources
246246 uses : actions/cache/restore@v4
247247 with :
248- key : ${{ needs.sources .outputs.cache-key }}
248+ key : ${{ needs.prelude .outputs.cache-key }}
249249 path : subprojects/packagecache
250250 enableCrossOsArchive : true
251251 fail-on-cache-miss : true
@@ -259,7 +259,7 @@ jobs:
259259 if : github.event_name != 'schedule' || github.repository == 'mesonbuild/wrapdb'
260260 name : MacOS (${{ matrix.platform }})
261261 runs-on : ${{ matrix.runner }}
262- needs : sources
262+ needs : prelude
263263 strategy :
264264 matrix :
265265 include :
@@ -286,7 +286,7 @@ jobs:
286286 - name : Restore sources
287287 uses : actions/cache/restore@v4
288288 with :
289- key : ${{ needs.sources .outputs.cache-key }}
289+ key : ${{ needs.prelude .outputs.cache-key }}
290290 path : subprojects/packagecache
291291 enableCrossOsArchive : true
292292 fail-on-cache-miss : true
0 commit comments