43
43
if : github.actor != 'restyled-io[bot]'
44
44
45
45
container :
46
- image : ghcr.io/project-chip/chip-build:81
46
+ image : ghcr.io/project-chip/chip-build:90
47
47
volumes :
48
48
- " /:/runner-root-volume"
49
49
- " /tmp/log_output:/tmp/test_logs"
76
76
with :
77
77
languages : " cpp"
78
78
- name : Setup Build
79
- run : scripts/build/gn_gen.sh --args="chip_config_memory_debug_checks=true chip_config_memory_debug_dmalloc=false chip_data_model_check_die_on_failure=true "
79
+ run : scripts/build/gn_gen.sh --args="chip_config_memory_debug_checks=true chip_config_memory_debug_dmalloc=false"
80
80
- name : Run Build
81
81
run : scripts/run_in_build_env.sh "ninja -C ./out"
82
82
- name : Run Tests
@@ -139,7 +139,7 @@ jobs:
139
139
if : github.actor != 'restyled-io[bot]'
140
140
141
141
container :
142
- image : ghcr.io/project-chip/chip-build:81
142
+ image : ghcr.io/project-chip/chip-build:90
143
143
volumes :
144
144
- " /:/runner-root-volume"
145
145
- " /tmp/log_output:/tmp/test_logs"
@@ -183,7 +183,7 @@ jobs:
183
183
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
184
184
- name : Setup Build, Run Build and Run Tests
185
185
run : |
186
- BUILD_TYPE=gcc_release scripts/build/gn_gen.sh --args="is_debug=false chip_data_model_check_die_on_failure=true "
186
+ BUILD_TYPE=gcc_release scripts/build/gn_gen.sh --args="is_debug=false"
187
187
scripts/run_in_build_env.sh "ninja -C ./out/gcc_release"
188
188
BUILD_TYPE=gcc_release scripts/tests/gn_tests.sh
189
189
- name : Clean output
@@ -205,14 +205,14 @@ jobs:
205
205
esac
206
206
207
207
rm -rf ./out/sanitizers
208
- BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true " --export-compile-commands
208
+ BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS" --add- export-compile-commands=*
209
209
BUILD_TYPE=sanitizers scripts/tests/gn_tests.sh
210
210
done
211
211
- name : Generate tests with sanitizers (for tidy)
212
212
if : github.event.pull_request.number != null
213
213
run : |
214
214
rm -rf ./out/sanitizers
215
- BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="is_clang=true is_asan=true chip_data_model_check_die_on_failure=true " --export-compile-commands
215
+ BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="is_clang=true is_asan=true" --add- export-compile-commands=*
216
216
- name : Ensure codegen is done for sanitize
217
217
run : |
218
218
./scripts/run_in_build_env.sh "./scripts/run_codegen_targets.sh out/sanitizers"
@@ -308,7 +308,7 @@ jobs:
308
308
if : github.actor != 'restyled-io[bot]'
309
309
310
310
container :
311
- image : ghcr.io/project-chip/chip-build:81
311
+ image : ghcr.io/project-chip/chip-build:90
312
312
volumes :
313
313
- " /:/runner-root-volume"
314
314
- " /tmp/log_output:/tmp/test_logs"
@@ -333,7 +333,7 @@ jobs:
333
333
334
334
- name : Setup Build, Run Build and Run Tests
335
335
run : |
336
- scripts/build/gn_gen.sh --args="enable_rtti=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_generate_link_map_file=false chip_data_model_check_die_on_failure=true "
336
+ scripts/build/gn_gen.sh --args="enable_rtti=true chip_config_memory_debug_checks=false chip_config_memory_debug_dmalloc=false chip_generate_link_map_file=false"
337
337
scripts/run_in_build_env.sh "ninja -C ./out"
338
338
scripts/tests/gn_tests.sh
339
339
- name : Setup test python environment
@@ -371,7 +371,7 @@ jobs:
371
371
if : github.actor != 'restyled-io[bot]'
372
372
373
373
container :
374
- image : ghcr.io/project-chip/chip-build:81
374
+ image : ghcr.io/project-chip/chip-build:90
375
375
volumes :
376
376
- " /:/runner-root-volume"
377
377
- " /tmp/log_output:/tmp/test_logs"
@@ -439,7 +439,7 @@ jobs:
439
439
# We want to build various standalone example apps (similar to what examples-linux-standalone.yaml
440
440
# does), so use target_os="all" to get those picked up as part of the "unified" build. But then
441
441
# to save CI resources we want to exclude the "host clang" build, which uses the pigweed clang.
442
- 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
442
+ scripts/build/gn_gen.sh --args='target_os="all" is_asan=true enable_host_clang_build=false' --add- export-compile-commands=*
443
443
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
444
444
scripts/tests/gn_tests.sh
445
445
- name : Ensure codegen is done for default
@@ -490,7 +490,7 @@ jobs:
490
490
if : github.actor != 'restyled-io[bot]'
491
491
492
492
container :
493
- image : ghcr.io/project-chip/chip-build:81
493
+ image : ghcr.io/project-chip/chip-build:90
494
494
volumes :
495
495
- " /:/runner-root-volume"
496
496
- " /tmp/log_output:/tmp/test_logs"
0 commit comments