@@ -375,7 +375,7 @@ jobs:
375
375
scripts/build_python_device.sh --chip_detail_logging true
376
376
377
377
build_darwin :
378
- name : Build on Darwin (clang, python_lib, simulated)
378
+ name : Build on Darwin (clang, simulated)
379
379
runs-on : macos-13
380
380
if : github.actor != 'restyled-io[bot]'
381
381
@@ -402,27 +402,17 @@ jobs:
402
402
CHIP_ROOT_PATH=examples/placeholder/linux
403
403
CHIP_ROOT_PATH="$CHIP_ROOT_PATH" BUILD_TYPE="$BUILD_TYPE" scripts/build/gn_gen.sh --args="$GN_ARGS"
404
404
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
405
- - name : Setup Build, Run Build and Run Tests
405
+ - name : Setup Build, Run Build and Run Tests (asan + starget_os=all)
406
406
# We can't enable leak checking here in LSAN_OPTIONS, because on
407
407
# Darwin that's only supported with a new enough clang, and we're
408
408
# not building with the pigweed clang here.
409
+ env :
410
+ BUILD_TYPE : default
409
411
run : |
410
- for BUILD_TYPE in default python_lib; do
411
- case $BUILD_TYPE in
412
- # We want to build various standalone example apps
413
- # (similar to what examples-linux-standalone.yaml
414
- # does), so use target_os="all" to get those picked
415
- # up as part of the "unified" build. But then to
416
- # save CI resources we want to exclude the
417
- # "host clang" build, which uses the pigweed
418
- # clang.
419
- "default") GN_ARGS='target_os="all" is_asan=true enable_host_clang_build=false';;
420
- esac
421
- BUILD_TYPE=$BUILD_TYPE scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true" --export-compile-commands
422
- scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
423
- BUILD_TYPE=$BUILD_TYPE scripts/tests/gn_tests.sh
424
- done
425
- - name : Ensure codegen is done for sanitize
412
+ scripts/build/gn_gen.sh --args='target_os="all" is_asan=true enable_host_clang_build=false chip_data_model_check_die_on_failure=true' --export-compile-commands
413
+ scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
414
+ scripts/tests/gn_tests.sh
415
+ - name : Ensure codegen is done for default
426
416
run : |
427
417
./scripts/run_in_build_env.sh "./scripts/run_codegen_targets.sh out/default"
428
418
- name : Clang-tidy validation
0 commit comments