-
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.
- Loading branch information
Showing
673 changed files
with
102,842 additions
and
17,820 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
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 |
---|---|---|
|
@@ -369,19 +369,9 @@ 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 | ||
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 |
---|---|---|
|
@@ -56,22 +56,14 @@ 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 | ||
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 |
---|---|---|
|
@@ -43,15 +43,7 @@ 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 | ||
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 |
---|---|---|
|
@@ -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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# Copyright (c) 2021 Project CHIP Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
name: Build example - TI CC32XX | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
cc32xx: | ||
name: cc32xx | ||
timeout-minutes: 100 | ||
|
||
env: | ||
BUILD_TYPE: gn_cc32xx | ||
|
||
runs-on: ubuntu-latest | ||
if: github.actor != 'restyled-io[bot]' | ||
|
||
container: | ||
image: connectedhomeip/chip-build-ti:0.6.34 | ||
volumes: | ||
- "/tmp/bloat_reports:/tmp/bloat_reports" | ||
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 cc32xx | ||
- name: Set up environment for size reports | ||
if: ${{ !env.ACT }} | ||
env: | ||
GH_CONTEXT: ${{ toJson(github) }} | ||
run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" | ||
- name: Bootstrap | ||
timeout-minutes: 25 | ||
run: scripts/build/gn_bootstrap.sh | ||
- name: Uploading bootstrap logs | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ always() && !env.ACT }} | ||
with: | ||
name: bootstrap-logs | ||
path: | | ||
.environment/gn_out/.ninja_log | ||
.environment/pigweed-venv/*.log | ||
- name: Build examples | ||
timeout-minutes: 60 | ||
run: | | ||
scripts/run_in_build_env.sh "\ | ||
./scripts/build/build_examples.py \ | ||
--target cc32xx-lock build \ | ||
--copy-artifacts-to out/artifacts \ | ||
" | ||
- name: Get lock app size stats | ||
timeout-minutes: 5 | ||
run: | | ||
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ | ||
cc32xx CC3235SF_LAUNCHXL lock \ | ||
out/artifacts/cc32xx-lock/chip-CC3235SF_LAUNCHXL-lock-example.out \ | ||
/tmp/bloat_reports/ | ||
- name: Uploading Size Reports | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
with: | ||
name: Size,cc32xx-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }} | ||
path: | | ||
/tmp/bloat_reports/ |
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 |
---|---|---|
|
@@ -99,18 +99,10 @@ jobs: | |
attempt_limit: 3 | ||
attempt_delay: 2000 | ||
- name: Setup Environment | ||
run: brew install openssl pkg-config llvm | ||
run: brew install llvm | ||
- name: Try to ensure the objdir-clone dir exists | ||
run: | | ||
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 | ||
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
Oops, something went wrong.