-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into TC_ACE_1_4
- Loading branch information
Showing
1,472 changed files
with
137,925 additions
and
141,055 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: connectedhomeip/chip-build:0.6.30 | ||
image: connectedhomeip/chip-build:0.6.34 | ||
|
||
steps: | ||
- uses: Wandalen/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
if: github.actor != 'restyled-io[bot]' | ||
|
||
container: | ||
image: connectedhomeip/chip-build:0.6.30 | ||
image: connectedhomeip/chip-build:0.6.34 | ||
volumes: | ||
- "/tmp/log_output:/tmp/test_logs" | ||
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0 | ||
|
@@ -138,7 +138,7 @@ jobs: | |
if: github.actor != 'restyled-io[bot]' | ||
|
||
container: | ||
image: connectedhomeip/chip-build:0.6.30 | ||
image: connectedhomeip/chip-build:0.6.34 | ||
volumes: | ||
- "/tmp/log_output:/tmp/test_logs" | ||
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0 | ||
|
@@ -251,6 +251,14 @@ jobs: | |
--pregen-dir ./zzz_pregenerated \ | ||
build \ | ||
" | ||
- name: Check no code generation in output | ||
run: | | ||
CNT=$(find -name "CHIPClusters.h" out | wc -l) | ||
if [ "${CNT}" != "0" ]; then | ||
echo "ERROR: found unexpected generated files:" | ||
find -name "CHIPClusters.h" out | ||
exit 1 | ||
fi | ||
- name: Undo code pre-generation changes (make compile time codegen work again) | ||
run: | | ||
rm -rf ./zzz_pregenerated | ||
|
@@ -282,24 +290,6 @@ jobs: | |
# # objdirs are big; don't hold on to them too long. | ||
# retention-days: 5 | ||
|
||
# TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227 | ||
# TODO https://github.com/project-chip/connectedhomeip/issues/1512 | ||
# - name: Run Code Coverage | ||
# if: ${{ contains('main', env.BUILD_TYPE) }} | ||
# run: scripts/tools/codecoverage.sh | ||
# - name: Upload Code Coverage | ||
# if: ${{ contains('main', env.BUILD_TYPE) }} | ||
# run: bash <(curl -s https://codecov.io/bash) | ||
# - name: Remove third_party binaries for CodeQL Analysis | ||
# run: find out -type d -name "third_party" -exec rm -rf {} + | ||
# - name: Remove dbus binaries for CodeQL Analysis | ||
# run: find out -type d -name "dbus" -exec rm -rf {} + | ||
# - name: Remove nrfxlib binaries for CodeQL Analysis | ||
# run: find . -type d -name "nrfxlib" -exec rm -rf {} + | ||
# - name: Perform CodeQL Analysis | ||
# if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }} | ||
# uses: github/codeql-action/analyze@v1 | ||
|
||
build_linux_python_lib: | ||
name: Build on Linux (python_lib) | ||
timeout-minutes: 60 | ||
|
@@ -308,7 +298,7 @@ jobs: | |
if: github.actor != 'restyled-io[bot]' | ||
|
||
container: | ||
image: connectedhomeip/chip-build:0.6.30 | ||
image: connectedhomeip/chip-build:0.6.34 | ||
volumes: | ||
- "/tmp/log_output:/tmp/test_logs" | ||
options: --sysctl "net.ipv6.conf.all.disable_ipv6=0 | ||
|
@@ -362,6 +352,12 @@ jobs: | |
timeout-minutes: 200 | ||
runs-on: macos-latest | ||
if: github.actor != 'restyled-io[bot]' | ||
|
||
env: | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
ZAP_VERSION: v2023.01.19-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.19-nightly | ||
|
||
steps: | ||
- uses: Wandalen/[email protected] | ||
|
@@ -392,6 +388,16 @@ jobs: | |
ls -la /usr/local/Cellar/[email protected] | ||
OPEN_SSL_VERSION=`ls -la /usr/local/Cellar/[email protected] | cat | tail -n1 | awk '{print $NF}'` | ||
ln -s /usr/local/Cellar/[email protected]/$OPEN_SSL_VERSION/lib/pkgconfig/* . | ||
- name: Install zap | ||
run: | | ||
sudo mkdir -p $ZAP_INSTALL_PATH | ||
sudo chown `whoami` $ZAP_INSTALL_PATH | ||
curl -L https://github.com/project-chip/zap/releases/download/${ZAP_VERSION}/zap-mac.zip \ | ||
--output $ZAP_INSTALL_PATH/zap-mac.zip | ||
cd $ZAP_INSTALL_PATH | ||
unzip zap-mac.zip zap-cli | ||
rm zap-mac.zip | ||
./zap-cli --version | ||
- name: Bootstrap | ||
timeout-minutes: 25 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
@@ -456,9 +462,44 @@ jobs: | |
# uses: github/codeql-action/analyze@v1 | ||
# TODO Log Upload https://github.com/project-chip/connectedhomeip/issues/2227 | ||
# TODO https://github.com/project-chip/connectedhomeip/issues/1512 | ||
# - name: Run Code Coverage | ||
# if: ${{ contains('main', env.BUILD_TYPE) }} | ||
# run: scripts/tools/codecoverage.sh | ||
# - name: Upload Code Coverage | ||
# if: ${{ contains('main', env.BUILD_TYPE) }} | ||
# run: bash <(curl -s https://codecov.io/bash) | ||
|
||
build_linux_gcc_coverage: | ||
name: Build on Linux (coverage) | ||
timeout-minutes: 85 | ||
|
||
runs-on: ubuntu-latest | ||
if: github.actor != 'restyled-io[bot]' | ||
|
||
container: | ||
image: connectedhomeip/chip-build:0.6.34 | ||
volumes: | ||
- "/tmp/log_output:/tmp/test_logs" | ||
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0 | ||
net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1" | ||
|
||
steps: | ||
- uses: Wandalen/[email protected] | ||
name: Checkout | ||
with: | ||
action: actions/checkout@v3 | ||
with: | | ||
token: ${{ github.token }} | ||
attempt_limit: 3 | ||
attempt_delay: 2000 | ||
- name: Checkout submodules | ||
run: scripts/checkout_submodules.py --shallow --platform linux | ||
- name: Bootstrap | ||
timeout-minutes: 10 | ||
run: scripts/build/gn_bootstrap.sh | ||
- name: Uploading bootstrap logs | ||
uses: actions/upload-artifact@v3 | ||
if: ${{ always() && !env.ACT }} | ||
with: | ||
name: bootstrap-logs | ||
path: | | ||
.environment/gn_out/.ninja_log | ||
.environment/pigweed-venv/*.log | ||
- name: Run Build Coverage | ||
timeout-minutes: 20 | ||
run: ./scripts/build_coverage.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,10 @@ jobs: | |
env: | ||
BUILD_VARIANT: ${{matrix.build_variant}} | ||
LSAN_OPTIONS: detect_leaks=1 malloc_context_size=40 suppressions=scripts/tests/chiptest/lsan-mac-suppressions.txt | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
ZAP_VERSION: v2023.01.19-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.19-nightly | ||
|
||
if: github.actor != 'restyled-io[bot]' | ||
runs-on: macos-latest | ||
|
@@ -72,6 +76,16 @@ jobs: | |
ls -la /usr/local/Cellar/[email protected] | ||
OPEN_SSL_VERSION=`ls -la /usr/local/Cellar/[email protected] | cat | tail -n1 | awk '{print $NF}'` | ||
ln -s /usr/local/Cellar/[email protected]/$OPEN_SSL_VERSION/lib/pkgconfig/* . | ||
- name: Install zap | ||
run: | | ||
sudo mkdir -p $ZAP_INSTALL_PATH | ||
sudo chown `whoami` $ZAP_INSTALL_PATH | ||
curl -L https://github.com/project-chip/zap/releases/download/${ZAP_VERSION}/zap-mac.zip \ | ||
--output $ZAP_INSTALL_PATH/zap-mac.zip | ||
cd $ZAP_INSTALL_PATH | ||
unzip zap-mac.zip zap-cli | ||
rm zap-mac.zip | ||
./zap-cli --version | ||
- name: Bootstrap | ||
timeout-minutes: 25 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,22 @@ jobs: | |
ls -la /usr/local/Cellar/[email protected] | ||
OPEN_SSL_VERSION=`ls -la /usr/local/Cellar/[email protected] | cat | tail -n1 | awk '{print $NF}'` | ||
ln -s /usr/local/Cellar/[email protected]/$OPEN_SSL_VERSION/lib/pkgconfig/* . | ||
- name: Install zap | ||
run: | | ||
sudo mkdir -p $ZAP_INSTALL_PATH | ||
sudo chown `whoami` $ZAP_INSTALL_PATH | ||
curl -L https://github.com/project-chip/zap/releases/download/${ZAP_VERSION}/zap-mac.zip \ | ||
--output $ZAP_INSTALL_PATH/zap-mac.zip | ||
cd $ZAP_INSTALL_PATH | ||
unzip zap-mac.zip zap-cli | ||
rm zap-mac.zip | ||
./zap-cli --version | ||
env: | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
# This is scoped to only the steps that don't use xcodebuild. | ||
ZAP_VERSION: v2023.01.19-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.19-nightly | ||
- name: Bootstrap | ||
timeout-minutes: 25 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
@@ -106,14 +122,32 @@ jobs: | |
timeout-minutes: 15 | ||
run: | | ||
scripts/examples/gn_build_example.sh examples/all-clusters-app/linux out/debug chip_config_network_layer_ble=false | ||
env: | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
# This is scoped to only the steps that don't use xcodebuild. | ||
ZAP_VERSION: v2023.01.19-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.19-nightly | ||
- name: Build example OTA Provider | ||
timeout-minutes: 10 | ||
run: | | ||
scripts/examples/gn_build_example.sh examples/ota-provider-app/linux out/debug chip_config_network_layer_ble=false | ||
env: | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
# This is scoped to only the steps that don't use xcodebuild. | ||
ZAP_VERSION: v2023.01.19-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.19-nightly | ||
- name: Build example OTA Requestor | ||
timeout-minutes: 10 | ||
run: | | ||
scripts/examples/gn_build_example.sh examples/ota-requestor-app/linux out/debug chip_config_network_layer_ble=false | ||
env: | ||
# NOTE: Generally kept in sync within the repo using | ||
# scripts/tools/zap/version_update.py | ||
# This is scoped to only the steps that don't use xcodebuild. | ||
ZAP_VERSION: v2023.01.19-nightly | ||
ZAP_INSTALL_PATH: /usr/local/zap/zap-v2023.01.19-nightly | ||
- name: Delete Defaults | ||
run: defaults delete com.apple.dt.xctest.tool | ||
continue-on-error: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.