1
- # Copyright (c) 2021-2023 Valve Corporation
2
- # Copyright (c) 2021-2023 LunarG, Inc.
1
+ # Copyright (c) 2021-2024 Valve Corporation
2
+ # Copyright (c) 2021-2024 LunarG, Inc.
3
3
#
4
4
# Licensed under the Apache License, Version 2.0 (the "License");
5
5
# you may not use this file except in compliance with the License.
@@ -29,7 +29,8 @@ concurrency:
29
29
cancel-in-progress : true
30
30
31
31
jobs :
32
- linux :
32
+ linux :
33
+ needs : tools_codegen
33
34
runs-on : ${{matrix.os}}
34
35
35
36
strategy :
@@ -101,7 +102,8 @@ jobs:
101
102
- run : scripts/update_deps.py --dir ext --no-build
102
103
- run : scripts/generate_source.py --verify ext/Vulkan-Headers/registry/
103
104
104
- windows :
105
+ windows :
106
+ needs : tools_codegen
105
107
runs-on : ${{matrix.os}}
106
108
107
109
strategy :
@@ -134,6 +136,8 @@ jobs:
134
136
run : ctest --output-on-failure
135
137
136
138
mac :
139
+ # mac is 10x expensive to run on GitHub machines, so only run if we know something else fast/simple passed as well
140
+ needs : chromium
137
141
runs-on : macos-latest
138
142
steps :
139
143
- uses : actions/checkout@v4
@@ -159,7 +163,8 @@ jobs:
159
163
160
164
- run : cmake --install build --prefix /tmp
161
165
162
- android :
166
+ android :
167
+ needs : tools_codegen
163
168
runs-on : ubuntu-22.04
164
169
strategy :
165
170
matrix :
@@ -191,6 +196,7 @@ jobs:
191
196
run : cmake --install build --prefix /tmp
192
197
193
198
mingw :
199
+ needs : tools_codegen
194
200
runs-on : windows-latest
195
201
defaults :
196
202
run :
@@ -218,6 +224,7 @@ jobs:
218
224
- run : cmake --install build --prefix build/install
219
225
220
226
tools_codegen :
227
+ needs : codegen
221
228
runs-on : ubuntu-latest
222
229
steps :
223
230
- uses : actions/checkout@v4
@@ -230,6 +237,7 @@ jobs:
230
237
- run : git diff --exit-code
231
238
232
239
chromium :
240
+ needs : tools_codegen
233
241
runs-on : ubuntu-latest
234
242
steps :
235
243
- uses : actions/checkout@v4
0 commit comments