-
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 branch 'master' into ESP32/add_all_factory_api
- Loading branch information
Showing
424 changed files
with
45,136 additions
and
9,588 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
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 |
---|---|---|
|
@@ -66,6 +66,14 @@ jobs: | |
run: | | ||
mkdir /tmp/cores || true | ||
sysctl -w kernel.core_pattern=/tmp/cores/core.%u.%p.%t || true | ||
- name: Bootstrap cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} | ||
path: | | ||
.environment | ||
build_overrides/pigweed_environment.gni | ||
- name: Bootstrap | ||
timeout-minutes: 10 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
@@ -77,6 +85,7 @@ jobs: | |
path: | | ||
.environment/gn_out/.ninja_log | ||
.environment/pigweed-venv/*.log | ||
- name: Setup Build | ||
run: scripts/build/gn_gen.sh --args="chip_config_memory_debug_checks=true chip_config_memory_debug_dmalloc=false" | ||
- name: Run Build | ||
|
@@ -173,6 +182,14 @@ jobs: | |
run: | | ||
mkdir /tmp/cores || true | ||
sysctl -w kernel.core_pattern=/tmp/cores/core.%u.%p.%t || true | ||
- name: Bootstrap cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} | ||
path: | | ||
.environment | ||
build_overrides/pigweed_environment.gni | ||
- name: Bootstrap | ||
timeout-minutes: 10 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
@@ -184,6 +201,7 @@ jobs: | |
path: | | ||
.environment/gn_out/.ninja_log | ||
.environment/pigweed-venv/*.log | ||
- name: Setup and Build Simulated Device | ||
timeout-minutes: 20 | ||
run: | | ||
|
@@ -323,9 +341,18 @@ jobs: | |
attempt_delay: 2000 | ||
- name: Checkout submodules | ||
run: scripts/checkout_submodules.py --shallow --platform linux | ||
|
||
- name: Bootstrap cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} | ||
path: | | ||
.environment | ||
build_overrides/pigweed_environment.gni | ||
- name: Bootstrap | ||
timeout-minutes: 10 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
||
- name: Setup Build, Run Build and Run Tests | ||
timeout-minutes: 50 | ||
run: | | ||
|
@@ -369,19 +396,17 @@ jobs: | |
# languages: "cpp" | ||
- name: Checkout submodules | ||
run: scripts/checkout_submodules.py --shallow --platform darwin | ||
- name: Setup Environment | ||
run: brew install openssl pkg-config | ||
- name: Try to ensure the directory for diagnostic log collection exists | ||
run: | | ||
mkdir -p ~/Library/Logs/DiagnosticReports || true | ||
- name: Fix pkgconfig link | ||
working-directory: /usr/local/lib/pkgconfig | ||
run: | | ||
pwd | ||
ls -la /usr/local/Cellar/ | ||
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: Bootstrap cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} | ||
path: | | ||
.environment | ||
build_overrides/pigweed_environment.gni | ||
- name: Bootstrap | ||
timeout-minutes: 25 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
@@ -393,6 +418,7 @@ jobs: | |
path: | | ||
.environment/gn_out/.ninja_log | ||
.environment/pigweed-venv/*.log | ||
- name: Setup and Build Simulated Device | ||
timeout-minutes: 20 | ||
run: | | ||
|
@@ -472,6 +498,14 @@ jobs: | |
attempt_delay: 2000 | ||
- name: Checkout submodules | ||
run: scripts/checkout_submodules.py --shallow --platform linux | ||
|
||
- name: Bootstrap cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} | ||
path: | | ||
.environment | ||
build_overrides/pigweed_environment.gni | ||
- name: Bootstrap | ||
timeout-minutes: 10 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
@@ -482,8 +516,8 @@ jobs: | |
name: bootstrap-logs | ||
path: | | ||
.environment/gn_out/.ninja_log | ||
.environment/pigweed-venv/*.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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,22 +56,22 @@ jobs: | |
run: scripts/checkout_submodules.py --shallow --platform darwin | ||
- name: Setup Environment | ||
# coreutils for stdbuf | ||
run: brew install openssl pkg-config coreutils | ||
run: brew install coreutils | ||
- name: | ||
Try to ensure the directories for core dumping and diagnostic | ||
log collection exist and we can write them. | ||
run: | | ||
sudo chown ${USER} /cores || true | ||
mkdir -p ~/Library/Logs/DiagnosticReports || true | ||
mkdir objdir-clone || true | ||
- name: Fix pkgconfig link | ||
working-directory: /usr/local/lib/pkgconfig | ||
run: | | ||
pwd | ||
ls -la /usr/local/Cellar/ | ||
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: Bootstrap cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} | ||
path: | | ||
.environment | ||
build_overrides/pigweed_environment.gni | ||
- name: Bootstrap | ||
timeout-minutes: 25 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
@@ -83,6 +83,7 @@ jobs: | |
path: | | ||
.environment/gn_out/.ninja_log | ||
.environment/pigweed-venv/*.log | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,15 +43,15 @@ jobs: | |
- name: Checkout submodules | ||
run: scripts/checkout_submodules.py --shallow --platform darwin | ||
- name: Setup Environment | ||
run: brew install openssl pkg-config [email protected] | ||
- name: Fix pkgconfig link | ||
working-directory: /usr/local/lib/pkgconfig | ||
run: | | ||
pwd | ||
ls -la /usr/local/Cellar/ | ||
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/* . | ||
run: brew install [email protected] | ||
|
||
- name: Bootstrap cache | ||
uses: actions/cache@v3 | ||
with: | ||
key: ${{ runner.os }}-env-${{ hashFiles('scripts/setup/*', 'third_party/pigweed/**') }} | ||
path: | | ||
.environment | ||
build_overrides/pigweed_environment.gni | ||
- name: Bootstrap | ||
timeout-minutes: 25 | ||
run: scripts/build/gn_bootstrap.sh | ||
|
@@ -63,6 +63,7 @@ jobs: | |
path: | | ||
.environment/gn_out/.ninja_log | ||
.environment/pigweed-venv/*.log | ||
- name: Block zap-cli from being used | ||
# xcodebuild is NOT expected to require zap-cli | ||
run: scripts/run_in_build_env.sh 'mv $PW_ENVIRONMENT_ROOT/cipd/packages/zap/zap-cli $PW_ENVIRONMENT_ROOT/cipd/packages/zap/zap-cli.moved' | ||
|
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 |
---|---|---|
|
@@ -21,18 +21,18 @@ on: | |
- "**.c[cs]?" | ||
- "**.cxx" | ||
- "**.cpp" | ||
- "**.c++" | ||
- "**.c\\+\\+" | ||
- "**.ii" | ||
- "**.ixx" | ||
- "**.ipp" | ||
- "**.i++" | ||
- "**.i\\+\\+" | ||
- "**.inl" | ||
- "**.[hH]" | ||
- "**.hh" | ||
- "**.HH" | ||
- "**.hxx" | ||
- "**.hpp" | ||
- "**.h++" | ||
- "**.h\\+\\+" | ||
- "**.mm" | ||
- "**.txt" | ||
- "**.[ido]dl" | ||
|
@@ -48,18 +48,18 @@ on: | |
- "**.c[cs]?" | ||
- "**.cxx" | ||
- "**.cpp" | ||
- "**.c++" | ||
- "**.c\\+\\+" | ||
- "**.ii" | ||
- "**.ixx" | ||
- "**.ipp" | ||
- "**.i++" | ||
- "**.i\\+\\+" | ||
- "**.inl" | ||
- "**.[hH]" | ||
- "**.hh" | ||
- "**.HH" | ||
- "**.hxx" | ||
- "**.hpp" | ||
- "**.h++" | ||
- "**.h\\+\\+" | ||
- "**.mm" | ||
- "**.txt" | ||
- "**.[ido]dl" | ||
|
@@ -80,7 +80,7 @@ jobs: | |
name: Build Doxygen | ||
timeout-minutes: 5 | ||
|
||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-latest | ||
container: | ||
image: connectedhomeip/chip-build-doxygen:0.6.35 | ||
|
||
|
@@ -89,15 +89,8 @@ jobs: | |
steps: | ||
- name: "Print Actor" | ||
run: echo ${{github.actor}} | ||
- uses: Wandalen/[email protected] | ||
name: Checkout | ||
with: | ||
action: actions/checkout@v3 | ||
with: | | ||
submodules: true | ||
token: ${{ github.token }} | ||
attempt_limit: 3 | ||
attempt_delay: 2000 | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Generate | ||
run: scripts/helpers/doxygen.sh | ||
- name: Extract branch name | ||
|
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.