81
81
run : scripts/run_in_build_env.sh "ninja -C ./out"
82
82
- name : Run Tests
83
83
run : scripts/tests/gn_tests.sh
84
- # TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227
85
- # TODO https://github.com/project-chip/connectedhomeip/issues/1512
86
- # - name: Run Code Coverage
87
- # if: ${{ contains('main', env.BUILD_TYPE) }}
88
- # run: scripts/tools/codecoverage.sh
89
- # - name: Upload Code Coverage
90
- # if: ${{ contains('main', env.BUILD_TYPE) }}
91
- # run: bash <(curl -s https://codecov.io/bash)
92
84
- name : Set up Build Without Detail Logging
93
85
run : scripts/build/gn_gen.sh --args="chip_detail_logging=false"
94
86
- name : Run Build Without Detail Logging
@@ -488,16 +480,16 @@ jobs:
488
480
build_linux_gcc_coverage :
489
481
name : Build on Linux (coverage)
490
482
491
- runs-on : ubuntu-latest
483
+ env :
484
+ TSAN_OPTIONS : " halt_on_error=1 suppressions=scripts/tests/chiptest/tsan-linux-suppressions.txt"
485
+
492
486
if : github.actor != 'restyled-io[bot]'
487
+ runs-on : ubuntu-latest
493
488
494
489
container :
495
490
image : ghcr.io/project-chip/chip-build:104
496
- volumes :
497
- - " /:/runner-root-volume"
498
- - " /tmp/log_output:/tmp/test_logs"
499
491
options : --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
500
- net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1 "
492
+ net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0 "
501
493
502
494
steps :
503
495
- name : Checkout
@@ -506,6 +498,8 @@ jobs:
506
498
uses : ./.github/actions/checkout-submodules-and-bootstrap
507
499
with :
508
500
platform : linux
501
+ bootstrap-log-name : bootstrap-logs-linux-${{ matrix.build_variant }}${{ matrix.chip_tool }}
509
502
510
503
- name : Run Build Coverage
511
- run : ./scripts/build_coverage.sh
504
+ run : ./scripts/build_coverage.sh --yaml
505
+
0 commit comments