File tree 1 file changed +13
-6
lines changed
1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -321,14 +321,21 @@ jobs:
321
321
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
322
322
- name : Setup Build, Run Build and Run Tests
323
323
timeout-minutes : 120
324
- # Just go ahead and do the "all" build; on Darwin that's fairly
325
- # fast. If this ever becomes slow, we can think about ways to do
326
- # the examples-linux-standalone.yaml tests on darwin without too
327
- # much code duplication.
328
324
run : |
329
- for BUILD_TYPE in clang python_lib; do
325
+ for BUILD_TYPE in default python_lib; do
330
326
case $BUILD_TYPE in
331
- "clang") GN_ARGS='is_clang=true target_os="all" is_asan=true pw_command_launcher="`pwd`/../scripts/helpers/clang-tidy-launcher.py"';;
327
+ # We want to build various standalone example apps
328
+ # (similar to what examples-linux-standalone.yaml
329
+ # does), so use target_os="all" to get those picked
330
+ # up as part of the "unified" build. But then to
331
+ # save CI resources we want to exclude a few
332
+ # redundant things:
333
+ #
334
+ # * the mbedtls build, since we don't really plan to
335
+ # use that on Darwin.
336
+ # * the "host clang" build, which uses the pigweed
337
+ # clang.
338
+ "default") GN_ARGS='target_os="all" is_asan=true enable_host_clang_build=false enable_host_gcc_mbedtls_build=false pw_command_launcher="`pwd`/../scripts/helpers/clang-tidy-launcher.py"';;
332
339
"python_lib") GN_ARGS='enable_rtti=true enable_pylib=true';;
333
340
esac
334
341
scripts/build/gn_gen.sh --args="$GN_ARGS"
You can’t perform that action at this time.
0 commit comments