Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current csa #53

Closed
wants to merge 128 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
aef88b6
Add TC_CCTRL_2_1, TC_CCTRL_2_2, TC_CCTRL_2_3 to CI (#35886)
arkq Oct 4, 2024
ca79d59
Documentation: Fix defaults on build_python.sh (#35901)
cecille Oct 4, 2024
e814987
Add provisional General Commissioning Cluster TCUpdateDeadline attrib…
swan-amazon Oct 4, 2024
994c390
Make use of DataModel::Provider device type resolution in the access …
andy31415 Oct 4, 2024
86a5270
Add missing feature map bit (#35915)
mkardous-silabs Oct 4, 2024
a2f1773
When logging work items in MTRDevice_Concrete, include names, not jus…
bzbarsky-apple Oct 4, 2024
cc28e0a
Fix Matter.framework path descriptions to be more readable. (#35921)
bzbarsky-apple Oct 4, 2024
213bf23
Fix formatting of unknown IDs in MTRClusterNames bits. (#35922)
bzbarsky-apple Oct 4, 2024
641103f
Fix some error messages when XPC exceptions happen. (#35923)
bzbarsky-apple Oct 4, 2024
89f78ca
tv-casting-app fix load stale binding endpoints from un-needed fabric…
pgregorr-amazon Oct 4, 2024
425b53c
Re-enerated using updated alchemy which recognizes Cameras domain (#3…
gmarcosb Oct 5, 2024
5c9d4f9
Update Darwin availability annotations for new camera bits. (#35925)
bzbarsky-apple Oct 5, 2024
ef0132b
[Fabric-Sync] Fix compile warnings (#35927)
yufengwangca Oct 5, 2024
45a68f8
Use ScheduleLambda() instead of PlatformMgr().ScheduleWork to excute …
yufengwangca Oct 7, 2024
386816b
Enable MRP in WiFi-PAF commissioning (#35500)
crlonxp Oct 7, 2024
bcc1f1b
[Linux] Matter Linux Water Leak Detector Example (#35392)
lboue Oct 7, 2024
1c2ad2e
[HotFix] Missing declaration in provisional water-leak-detector-app.m…
vivien-apple Oct 7, 2024
4ec1716
WebRTC requestor cluster (#35910)
andyg-apple Oct 7, 2024
b559f17
Move some Matter.framework server APIs used only with concrete contro…
bzbarsky-apple Oct 7, 2024
55e2a3f
Remove PASE verifier computation overrides from MTRDeviceController_C…
bzbarsky-apple Oct 7, 2024
3adf99e
Add a size-display script for binaries. (#35942)
andy31415 Oct 7, 2024
3a7c922
Fix handling of controllerNodeID on non-concrete controllers. (#35946)
bzbarsky-apple Oct 7, 2024
7fd3d59
Clean up asyncGetCommissionerOnMatterQueue on MTRDeviceController. (#…
bzbarsky-apple Oct 7, 2024
52a5589
Fix efr32 test_driver build and make sure the linkerfile matches the …
jmartinez-silabs Oct 7, 2024
07a28ac
One more decouple from ember from src/app and ensure we can compile w…
andy31415 Oct 8, 2024
43e447c
[Fabric-Bridge] Replace ScheduleWork with ScheduleLambda (#35949)
yufengwangca Oct 8, 2024
9fc8386
[ICD] Make optional spec checks mandatory with the launch of LongIdle…
mkardous-silabs Oct 8, 2024
9a148ab
[java]fix errorcode in GetConnectedDeviceCallbackForTestJni (#35958)
yunhanw-google Oct 8, 2024
cec1887
Fix android batch command test (#35954)
yunhanw-google Oct 8, 2024
6ced852
Make function argument a reference, to avoid passing in struct data a…
andy31415 Oct 8, 2024
9ccc52e
Remove a test-only method from base MTRDeviceController. (#35944)
bzbarsky-apple Oct 8, 2024
0d78b5f
Fix attribute-table logs to not log strings as %p. (#35941)
bzbarsky-apple Oct 8, 2024
4c4970a
Documentation: getting started - changing examples (#35929)
cecille Oct 8, 2024
1dadbe4
Add missing feature map bit (#35915) (#35961)
mkardous-silabs Oct 8, 2024
9b34d55
Fix --int-arg, --bool-arg, etc options parsing (#35249)
arkq Oct 8, 2024
6034c87
Add TC_BRBINFO_4_1 to CI (#35940)
arkq Oct 8, 2024
bd8803a
[darwin-framework-tool] Automatically check for leaks on shutdown if …
vivien-apple Oct 8, 2024
18fafa5
DM XMLs: Remove a couple of clusters/DTs not in 0.9 (#35937)
cecille Oct 8, 2024
ccd45b0
Add restyled workflow (#35967)
andy31415 Oct 8, 2024
f7600df
Fix mis-quote in pullapprove (#35968)
andy31415 Oct 8, 2024
ca70de2
Use check runs for checking restyle workflow (#35969)
andy31415 Oct 8, 2024
7c68210
Remove restyle check in pullapprove: moved this requirement to the br…
andy31415 Oct 8, 2024
0a2e58d
[devcontainer] Add icecc cluster compilation (#35502)
XToripuru Oct 8, 2024
4a21a8d
[AllClusters] If opened multiple times and something fails in Init, c…
vivien-apple Oct 8, 2024
7fcc60f
[Android] Add StayActive support during commission flow for LIT (#35959)
yunhanw-google Oct 8, 2024
a854245
[Python] Fix the value type of enumeration kUnknownEnumValue (#35963)
tianfeng-yang Oct 8, 2024
af3727b
[Matter.framework] Prevent a leak when using the _subscriptionPoolWor…
vivien-apple Oct 9, 2024
a629204
Fixing deadlock, and not cleaning up on purpose now (#35982)
woody-apple Oct 9, 2024
e02f0f2
[Silabs]Migrate some more freertos api to cmsisos (#35974)
jmartinez-silabs Oct 9, 2024
5224cec
[Silabs] Refactor Sensor code (#35979)
mkardous-silabs Oct 9, 2024
6621548
TC-VALCC-4.2: unconditionally write open duration (#35852)
cecille Oct 9, 2024
b8a0e76
[Matter.framework] When the device is entering suspended state and at…
vivien-apple Oct 9, 2024
8110157
[Matter.framework] MTRAsyncWorkItem::initWithQueue will assert when t…
vivien-apple Oct 9, 2024
59f7615
Remove python_lib build&test out of darwin build steps (#35980)
andy31415 Oct 9, 2024
50b5dfb
Make MTRBaseDevice be explicit about when it's assuming a concrete co…
bzbarsky-apple Oct 9, 2024
d4c2eaf
[NXP][common][mcxw71_k32w1] Update ButtonApp::HandleLongPress and Pla…
andrei-menzopol Oct 9, 2024
b3aeb67
Convert CI python test arguments to YAML format (#35988)
arkq Oct 9, 2024
12fe9df
Speed up linux and darwin CI (#35971)
andy31415 Oct 9, 2024
2a19f57
esp32-fix-empty-logs(#35939) (#35965)
mokap13 Oct 9, 2024
6252541
Add script and workflow that is able to "cancel all CI runs for a spe…
andy31415 Oct 9, 2024
b37012b
Moving our XPC Checkin to be a general register (#35985)
woody-apple Oct 9, 2024
f217f77
Camera zone management cluster (#35879)
gmarcosb Oct 9, 2024
24fd0d6
Add a GenericPlatformManager implementation based on CMSISOS V2 API (…
jmartinez-silabs Oct 9, 2024
f2b8a87
Use DataModel::Provider provided command information to handle comman…
andy31415 Oct 9, 2024
a7bbd7b
[Matter.framework] Clear all device controller delegates on controlle…
vivien-apple Oct 9, 2024
88bf438
Fix crash when handling jStayActiveMsec (#35997)
yunhanw-google Oct 10, 2024
8a01f93
Remove no-op ShutdownOnExit. (#36002)
bzbarsky-apple Oct 10, 2024
d3f33ba
[NXP][common][mcxw71_k32w1] Add MML support to DiagnosticDataProvider…
andrei-menzopol Oct 10, 2024
afcfba0
[Tizen] Enable QEMU RTC driver to sync time on boot (#35964)
arkq Oct 10, 2024
b1cd9fd
Refactoring of support test scripts to enhance matter testing infrast…
vatsalghelani-csa Oct 10, 2024
4440785
[Bouffalo Lab] Add a script to demonstrate mfd partition generation (…
wy-hh Oct 10, 2024
a0eafce
[bouffalolab] reduce ci build targets (#36006)
wy-hh Oct 10, 2024
1928999
[Fabric-Sync] Use aggregator endpoint instead of root endpoint for CC…
yufengwangca Oct 10, 2024
54f0493
[NXP] Bump nxp_matter_support (#36008)
marius-alex-tache Oct 10, 2024
8dc3d39
[Energy Management] Silabs Dishwasher, Electrical sensor and DEM app …
lpbeliveau-silabs Oct 10, 2024
1ed1dca
Add unit test for EcosystemInformation cluster server implementation …
tehampson Oct 10, 2024
33991c5
Reduced the ESP32 CI tests to be run on CI build (#35931)
shripad621git Oct 10, 2024
35fcc33
Revert "Refactoring of support test scripts to enhance matter testing…
soares-sergio Oct 10, 2024
86c1c71
Fix small typo (#36005)
yufengwangca Oct 10, 2024
80a7636
tv-casting-app fix CloseCommissioningWindow upon unexpected CDC Commi…
pgregorr-amazon Oct 10, 2024
7a9bd66
[Darwin] Implemented download diagnostics log for MTRDevice_XPC (#35998)
anush-apple Oct 10, 2024
cc049c3
Add back typo removed by line merge in previous PR (#36010)
andy31415 Oct 10, 2024
6a29ee5
Refactoring random SetupPinCode generation into a method. (#36009)
Alami-Amine Oct 10, 2024
043ff67
Remove all-clusters-minimal-app for Tizen platform (#36014)
arkq Oct 10, 2024
6880437
Attempt to fix ESP32 builds by adding an extra dependency (#36025)
andy31415 Oct 10, 2024
14e75a4
Store icdClientInfo after completing check-in message validation (#36…
yunhanw-google Oct 10, 2024
a76cc9b
python_testing: Improve TC_IDM_10_1 error msgs (#35999)
soares-sergio Oct 10, 2024
18bcd0c
Fix device type metadata for bridge device types. (#36034)
bzbarsky-apple Oct 11, 2024
49db415
[QPG] Fix for OpenThread Stack bump compile issue (#36039)
dvdm-qorvo Oct 11, 2024
f5bf220
Fix name of the Secondary Network Interface device type in the XML. (…
bzbarsky-apple Oct 11, 2024
cc50e9e
Add logic to stop full CI if some fast and required checks fail (#36000)
andy31415 Oct 11, 2024
fa570cc
Revert "esp32-fix-empty-logs(#35939)" (#36035)
shubhamdp Oct 11, 2024
55a6c6b
Correct copy&paste errors in log (#36019)
yufengwangca Oct 11, 2024
907caa6
Fix dependency requirement for CI cancel (#36041)
andy31415 Oct 11, 2024
3732a89
Restyler Fixes for reverted PR #34785 (#36022)
vatsalghelani-csa Oct 11, 2024
3e55a21
[darwin-framework-tool] Add missing autoreleasepool before checking f…
vivien-apple Oct 11, 2024
8c0f11a
Matter framework safe conversion for known enum (#36015)
vivien-apple Oct 11, 2024
a712f77
[ICD] Add subscriber request max interval getter (#36021)
mkardous-silabs Oct 11, 2024
f59864b
[Silabs] Adds refrigerator application (#35433)
shgutte Oct 11, 2024
89ef86d
[darwin-framework-tool] Add a memory dump-graph command (#36017)
vivien-apple Oct 11, 2024
7287041
[YAML] Add _ById commands support for darwin-framework-tool (#35996)
vivien-apple Oct 11, 2024
d2d06b3
[Silabs] Reduce the amount of target built by the ci while keeping al…
jmartinez-silabs Oct 11, 2024
48cf3e5
Fix casts when determining endpoint indices. (#36047)
bzbarsky-apple Oct 11, 2024
8e1ab70
[darwin-framework-tool] Add some autorelease pools to CHIPCommandBrid…
vivien-apple Oct 11, 2024
1988399
enable stayActive test in java matter controller during commission fl…
yunhanw-google Oct 11, 2024
f94fbfd
Dead code, no longer needed, causes duplicate checkins (#36051)
woody-apple Oct 12, 2024
bf37d4e
[ICD] Improve ICDClientStorage (#36036)
yunhanw-google Oct 12, 2024
4df081c
Definition of the Camera AV StreamManagement Cluster. (#35841)
pidarped Oct 13, 2024
dcb4444
[Python] fixed subscription crash (#32257)
tianfeng-yang Oct 14, 2024
9524ac9
Fix for arm64 build failure when bluetooth enabled on linux platform …
sabollim-silabs Oct 14, 2024
0474070
[YAML] Add _ById commands support for darwin-framework-tool - Followu…
vivien-apple Oct 14, 2024
650e69b
[CI] Add a step in CI to ensure darwin-framework-tool can be built on…
vivien-apple Oct 14, 2024
b04ec4f
Internal state is updated too often, removing this noise (#36056)
woody-apple Oct 14, 2024
d9a995f
MCORE-FS-1.4: Wait for dynamic endpoint to appear on TH_FSA (#36013)
arkq Oct 14, 2024
ac9537d
[Matter.framework] Follow-up to address remaining issues from #36015 …
vivien-apple Oct 14, 2024
03d6fbb
Fix xml field generation errors for CamerAVStreamManagement cluster. …
pidarped Oct 14, 2024
0c59ebf
[darwin-framework-tool] Add an option to use per-controller storage i…
vivien-apple Oct 15, 2024
32a375c
Docs: Move platform docs into their own directory and separate into s…
cecille Oct 15, 2024
f942dd8
Add support for single float type in RPC. (#35932)
GinyWang Oct 15, 2024
5b7aad7
Remove redundant "Matter " prefix from device type names. (#36068)
bzbarsky-apple Oct 15, 2024
d8d121e
Update ZAP to get helpers neeeded for Darwin codegen. (#36067)
bzbarsky-apple Oct 15, 2024
fe500cf
[nxp][examples][common] Make button components configurable (#36077)
marius-alex-tache Oct 15, 2024
e7ff441
TC-DA-1.2: Better error messages (#35916)
cecille Oct 15, 2024
9117e4d
Fix lighting samples weird values (#36079)
tcarmelveilleux Oct 15, 2024
bbc0fb2
Fix constraint check in thermostat cluster to follow the spec. (#36048)
bzbarsky-apple Oct 15, 2024
8a08d57
Use standard std::min std::max functions (#36065)
arkq Oct 15, 2024
064c205
Replace nlSTATIC_ASSERT_PRINT with static_assert (#36075)
arkq Oct 15, 2024
8742502
merge conflicts
mykrupp Oct 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ RUN apt-get update \
valgrind \
docker.io \
iputils-ping \
icecc \
&& :

RUN groupadd -g $USER_GID $USERNAME \
Expand Down Expand Up @@ -80,3 +81,13 @@ ENV TIZEN_ROOTFS /tizen_rootfs

# Fast Model GDB plugins path for debugging support
ENV FAST_MODEL_PLUGINS_PATH /opt/FastModelsPortfolio_11.16/plugins/Linux64_GCC-9.3

# Set up ccache as a pigweed command launcher when using the scripts/build/build_examples.py
# script. Also, set up icecc as the command prefix for ccache. Such setup allows to benefit
# from compilation caching and distributed compilation at the same time.
#
# NOTE: In order to use distributed compilation with icecc, one should run
# "scripts/icecc.sh start" before starting the build.
ENV CHIP_PW_COMMAND_LAUNCHER ccache
ENV CCACHE_PREFIX icecc
ENV PATH /usr/lib/ccache:$PATH
1 change: 1 addition & 0 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,7 @@ OpenThreadDemo
openweave
OperationalCredentials
operationalDataset
operationalstate
opkg
OPTIGA
optionMask
Expand Down
68 changes: 50 additions & 18 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ jobs:
run: echo "$CONCURRENCY_CONTEXT"
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
persist-credentials: true
- name: Try to ensure the directories for core dumping exist and we
can write them.
run: |
Expand Down Expand Up @@ -186,6 +189,10 @@ jobs:
- name: Clean output
run: rm -rf ./out
- name: Run Tests with sanitizers
# Sanitizer tests are not likely to find extra issues so running the same tests
# as above repeatedly on every pull request seems extra time. Instead keep this run
# for master only
if: github.event.pull_request.number == null
env:
LSAN_OPTIONS: detect_leaks=1
run: |
Expand All @@ -201,17 +208,34 @@ jobs:
BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true" --export-compile-commands
BUILD_TYPE=sanitizers scripts/tests/gn_tests.sh
done
- name: Generate tests with sanitizers (for tidy)
if: github.event.pull_request.number != null
run: |
rm -rf ./out/sanitizers
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
- name: Ensure codegen is done for sanitize
run: |
./scripts/run_in_build_env.sh "./scripts/run_codegen_targets.sh out/sanitizers"
- name: Find changed files
id: changed-files
uses: tj-actions/changed-files@v45
- name: Clang-tidy validation
# NOTE: clang-tidy crashes on CodegenDataModel_Write due to Nullable/std::optional check.
# See https://github.com/llvm/llvm-project/issues/97426
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
touch out/changed_files.txt
for file in ${ALL_CHANGED_FILES}; do
echo "$file changed and will be considered for tidy"
echo "$file" >>out/changed_files.txt
done

./scripts/run_in_build_env.sh \
"./scripts/run-clang-tidy-on-compile-commands.py \
--compile-database out/sanitizers/compile_commands.json \
--file-exclude-regex '/(repo|zzz_generated|lwip/standalone)/|-ReadImpl|-InvokeSubscribeImpl|CodegenDataModel_Write|QuieterReporting' \
--file-list-file out/changed_files.txt \
check \
"
- name: Clean output
Expand Down Expand Up @@ -375,13 +399,16 @@ jobs:
scripts/build_python_device.sh --chip_detail_logging true

build_darwin:
name: Build on Darwin (clang, python_lib, simulated)
name: Build on Darwin (clang, simulated)
runs-on: macos-13
if: github.actor != 'restyled-io[bot]'

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
persist-credentials: true
- name: Checkout submodules & Bootstrap
uses: ./.github/actions/checkout-submodules-and-bootstrap
with:
Expand All @@ -402,37 +429,42 @@ jobs:
CHIP_ROOT_PATH=examples/placeholder/linux
CHIP_ROOT_PATH="$CHIP_ROOT_PATH" BUILD_TYPE="$BUILD_TYPE" scripts/build/gn_gen.sh --args="$GN_ARGS"
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
- name: Setup Build, Run Build and Run Tests
- name: Setup Build, Run Build and Run Tests (asan + target_os=all)
# We can't enable leak checking here in LSAN_OPTIONS, because on
# Darwin that's only supported with a new enough clang, and we're
# not building with the pigweed clang here.
env:
BUILD_TYPE: default
run: |
for BUILD_TYPE in default python_lib; do
case $BUILD_TYPE in
# We want to build various standalone example apps
# (similar to what examples-linux-standalone.yaml
# does), so use target_os="all" to get those picked
# up as part of the "unified" build. But then to
# save CI resources we want to exclude the
# "host clang" build, which uses the pigweed
# clang.
"default") GN_ARGS='target_os="all" is_asan=true enable_host_clang_build=false';;
esac
BUILD_TYPE=$BUILD_TYPE scripts/build/gn_gen.sh --args="$GN_ARGS chip_data_model_check_die_on_failure=true" --export-compile-commands
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
BUILD_TYPE=$BUILD_TYPE scripts/tests/gn_tests.sh
done
- name: Ensure codegen is done for sanitize
# We want to build various standalone example apps (similar to what examples-linux-standalone.yaml
# does), so use target_os="all" to get those picked up as part of the "unified" build. But then
# to save CI resources we want to exclude the "host clang" build, which uses the pigweed clang.
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
scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE"
scripts/tests/gn_tests.sh
- name: Ensure codegen is done for default
run: |
./scripts/run_in_build_env.sh "./scripts/run_codegen_targets.sh out/default"
- name: Find changed files
id: changed-files
uses: tj-actions/changed-files@v45
- name: Clang-tidy validation
# NOTE: clang-tidy crashes on CodegenDataModel_Write due to Nullable/std::optional check.
# See https://github.com/llvm/llvm-project/issues/97426
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
touch out/changed_files.txt
for file in ${ALL_CHANGED_FILES}; do
echo "$file changed and will be considered for tidy"
echo "$file" >>out/changed_files.txt
done

./scripts/run_in_build_env.sh \
"./scripts/run-clang-tidy-on-compile-commands.py \
--compile-database out/default/compile_commands.json \
--file-exclude-regex '/(repo|zzz_generated|lwip/standalone)/|CodegenDataModel_Write|QuieterReporting' \
--file-list-file out/changed_files.txt \
check \
"
- name: Uploading diagnostic logs
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/cancel_workflows_for_pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Copyright (c) 2024 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: Cancel workflows on failing CI
on:
workflow_dispatch:
schedule:
- cron: "*/10 * * * *"

jobs:
cancel_workflow:
name: Cancel CI on failing pull requests

runs-on: ubuntu-latest

# Don't run on forked repos
if: github.repository_owner == 'project-chip'

steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Setup pip modules we use
run: |
pip install \
click \
coloredlogs \
python-dateutil \
pygithub \
&& echo "DONE installint python prerequisites"
- name: Cancel runs
run: |
scripts/tools/cancel_workflows_for_pr.py \
--gh-api-token "${{ secrets.GITHUB_TOKEN }}" \
--require "Restyled" \
--require "Lint Code Base" \
--require "ZAP" \
--require "Run misspell" \
--max-pr-age-minutes 20
4 changes: 4 additions & 0 deletions .github/workflows/darwin-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ jobs:
platform: darwin
bootstrap-log-name: bootstrap-logs-darwin-${{ matrix.build_variant }}

- name: Build iOS Darwin Framework Tool Build Debug
working-directory: src/darwin/Framework
run: xcodebuild -target "darwin-framework-tool" -sdk iphoneos -configuration Debug AD_HOC_CODE_SIGNING_ALLOWED=YES

- name: Run macOS Darwin Framework Tool Build Debug
working-directory: src/darwin/Framework
run: xcodebuild -target "darwin-framework-tool" -sdk macosx -configuration Debug
Expand Down
49 changes: 12 additions & 37 deletions .github/workflows/examples-bouffalolab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,25 +58,15 @@ jobs:
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
--target bouffalolab-bl602dk-light-easyflash \
--target bouffalolab-bl602dk-light-mfd-littlefs \
--target bouffalolab-bl602dk-light-rpc-115200-littlefs \
--target bouffalolab-bl602dk-light-mfd-littlefs-rpc-115200 \
build \
--copy-artifacts-to out/artifacts \
"
- name: Prepare some bloat report from the previous builds
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
bl602 bl602 lighting-app \
out/artifacts/bouffalolab-bl602dk-light-easyflash/chip-bl602-lighting-example.out \
/tmp/bloat_reports/
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
bl602 bl602+mfd lighting-app \
out/artifacts/bouffalolab-bl602dk-light-mfd-littlefs/chip-bl602-lighting-example.out \
/tmp/bloat_reports/
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
bl602 bl602+rpc lighting-app \
out/artifacts/bouffalolab-bl602dk-light-rpc-115200-littlefs/chip-bl602-lighting-example.out \
bl602 bl602+mfd+littlefs+rpc lighting-app \
out/artifacts/bouffalolab-bl602dk-light-mfd-littlefs-rpc-115200/chip-bl602-lighting-example.out \
/tmp/bloat_reports/
- name: Clean out build output
run: rm -rf ./out
Expand All @@ -85,35 +75,25 @@ jobs:
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
--target bouffalolab-bl706dk-light-easyflash \
--target bouffalolab-bl706dk-light-mfd-littlefs \
--target bouffalolab-bl706dk-light-ethernet-littlefs \
--target bouffalolab-bl706dk-light-ethernet-easyflash \
--target bouffalolab-bl706dk-light-wifi-littlefs \
--target bouffalolab-bl706dk-light-rpc-115200-littlefs \
--target bouffalolab-bl706dk-light-mfd-rpc-littlefs-115200 \
build \
--copy-artifacts-to out/artifacts \
"
- name: Prepare some bloat report from the previous builds
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
bl702 bl702 lighting-app \
out/artifacts/bouffalolab-bl706dk-light-easyflash/chip-bl702-lighting-example.out \
/tmp/bloat_reports/
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
bl702 bl702+mfd lighting-app \
out/artifacts/bouffalolab-bl706dk-light-mfd-littlefs/chip-bl702-lighting-example.out \
/tmp/bloat_reports/
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
bl702 bl706-eth lighting-app \
out/artifacts/bouffalolab-bl706dk-light-ethernet-littlefs/chip-bl702-lighting-example.out \
bl702 bl702+eth lighting-app \
out/artifacts/bouffalolab-bl706dk-light-ethernet-easyflash/chip-bl702-lighting-example.out \
/tmp/bloat_reports/
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
bl702 bl706-wifi lighting-app \
bl702 bl702+wifi lighting-app \
out/artifacts/bouffalolab-bl706dk-light-wifi-littlefs/chip-bl702-lighting-example.out \
/tmp/bloat_reports/
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
bl702 bl702+rpc lighting-app \
out/artifacts/bouffalolab-bl706dk-light-rpc-115200-littlefs/chip-bl702-lighting-example.out \
bl702 bl706+mfd+rpc+littlefs lighting-app \
out/artifacts/bouffalolab-bl706dk-light-mfd-rpc-littlefs-115200/chip-bl702-lighting-example.out \
/tmp/bloat_reports/
- name: Clean out build output
run: rm -rf ./out
Expand All @@ -123,19 +103,14 @@ jobs:
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py \
--target bouffalolab-bl704ldk-light-easyflash \
--target bouffalolab-bl704ldk-light-mfd-littlefs \
build \
--copy-artifacts-to out/artifacts \
"
- name: Prepare some bloat report from the previous builds
run: |
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
bl702l bl702l lighting-app \
out/artifacts/bouffalolab-bl704ldk-light-easyflash/chip-bl702l-lighting-example.out \
/tmp/bloat_reports/
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
bl702l bl702l+mfd lighting-app \
bl702l bl702l+mfd+littlefs lighting-app \
out/artifacts/bouffalolab-bl704ldk-light-mfd-littlefs/chip-bl702l-lighting-example.out \
/tmp/bloat_reports/
- name: Clean out build output
Expand All @@ -145,4 +120,4 @@ jobs:
uses: ./.github/actions/upload-size-reports
if: ${{ !env.ACT }}
with:
platform-name: BouffaloLab
platform-name: BouffaloLab
Loading
Loading