@@ -17,6 +17,7 @@ name: Builds
17
17
on :
18
18
push :
19
19
pull_request :
20
+ merge_group :
20
21
workflow_dispatch :
21
22
22
23
concurrency :
27
28
CHIP_NO_LOG_TIMESTAMPS : true
28
29
29
30
jobs :
30
-
31
31
build_linux_gcc_debug :
32
32
name : Build on Linux (gcc_debug)
33
33
timeout-minutes : 85
@@ -221,18 +221,18 @@ jobs:
221
221
env :
222
222
LSAN_OPTIONS : detect_leaks=1
223
223
run : |
224
- for BUILD_TYPE in asan tsan ubsan; do
225
- case $BUILD_TYPE in
226
- "asan") GN_ARGS='is_clang=true is_asan=true';;
227
- "msan") GN_ARGS='is_clang=true is_msan=true';;
228
- "tsan") GN_ARGS='is_clang=true is_tsan=true chip_enable_wifi=false';;
229
- "ubsan") GN_ARGS='is_clang=true is_ubsan=true';;
230
- esac
231
-
232
- rm -rf ./out/sanitizers
233
- BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS" --export-compile-commands
234
- BUILD_TYPE=sanitizers scripts/tests/gn_tests.sh
235
- done
224
+ for BUILD_TYPE in asan tsan ubsan; do
225
+ case $BUILD_TYPE in
226
+ "asan") GN_ARGS='is_clang=true is_asan=true';;
227
+ "msan") GN_ARGS='is_clang=true is_msan=true';;
228
+ "tsan") GN_ARGS='is_clang=true is_tsan=true chip_enable_wifi=false';;
229
+ "ubsan") GN_ARGS='is_clang=true is_ubsan=true';;
230
+ esac
231
+
232
+ rm -rf ./out/sanitizers
233
+ BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS" --export-compile-commands
234
+ BUILD_TYPE=sanitizers scripts/tests/gn_tests.sh
235
+ done
236
236
- name : Ensure codegen is done for sanitize
237
237
timeout-minutes : 45
238
238
run : |
@@ -370,9 +370,9 @@ jobs:
370
370
- name : Run Python Setup Payload Generator Test
371
371
timeout-minutes : 10
372
372
run : |
373
- scripts/run_in_build_env.sh 'scripts/examples/gn_build_example.sh examples/chip-tool out/'
374
- scripts/run_in_build_env.sh 'pip3 install -r src/setup_payload/python/requirements.txt'
375
- scripts/run_in_build_env.sh 'python3 src/setup_payload/tests/run_python_setup_payload_gen_test.py out/chip-tool'
373
+ scripts/run_in_build_env.sh 'scripts/examples/gn_build_example.sh examples/chip-tool out/'
374
+ scripts/run_in_build_env.sh 'pip3 install -r src/setup_payload/python/requirements.txt'
375
+ scripts/run_in_build_env.sh 'python3 src/setup_payload/tests/run_python_setup_payload_gen_test.py out/chip-tool'
376
376
377
377
build_darwin :
378
378
name : Build on Darwin (clang, python_lib, simulated)
0 commit comments