-
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 python/auto-invoke-resp
- Loading branch information
Showing
291 changed files
with
22,730 additions
and
12,492 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 |
---|---|---|
|
@@ -41,7 +41,6 @@ jobs: | |
image: connectedhomeip/chip-build-efr32:latest | ||
volumes: | ||
- "/tmp/bloat_reports:/tmp/bloat_reports" | ||
- "/tmp/output_binaries:/tmp/output_binaries" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
@@ -83,26 +82,6 @@ jobs: | |
scripts/examples/gn_efr32_example.sh examples/window-app/efr32/ out/window_app_debug BRD4161A | ||
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py efr32 BRD4161A window-app \ | ||
out/window_app_debug/BRD4161A/chip-efr32-window-example.out /tmp/bloat_reports/ | ||
- name: Binary artifact suffix | ||
id: outsuffix | ||
uses: haya14busa/[email protected] | ||
if: ${{ !env.ACT }} | ||
with: | ||
cond: ${{ github.event.pull_request.number == '' }} | ||
if_true: "${{ github.sha }}" | ||
if_false: "pull-${{ github.event.pull_request.number }}" | ||
- name: Uploading Binaries | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
with: | ||
name: | ||
${{ env.BUILD_TYPE }}-example-build-${{ | ||
steps.outsuffix.outputs.value }} | ||
path: | | ||
out/lock_app_debug/BRD4161A/chip-efr32-lock-example.out | ||
out/lock_app_debug/BRD4161A/chip-efr32-lock-example.out.map | ||
out/lighting_app_debug_rpc/BRD4161A/chip-efr32-lighting-example.out | ||
out/lighting_app_debug_rpc/BRD4161A/chip-efr32-lighting-example.out.map | ||
- name: Uploading Size Reports | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
|
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 |
---|---|---|
|
@@ -41,7 +41,6 @@ jobs: | |
image: connectedhomeip/chip-build-esp32:latest | ||
volumes: | ||
- "/tmp/bloat_reports:/tmp/bloat_reports" | ||
- "/tmp/output_binaries:/tmp/output_binaries" | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -104,25 +103,6 @@ jobs: | |
- name: Build example IPv6 Only App | ||
timeout-minutes: 10 | ||
run: scripts/examples/esp_example.sh ipv6only-app sdkconfig.defaults | ||
- name: Binary artifact suffix | ||
id: outsuffix | ||
uses: haya14busa/[email protected] | ||
if: ${{ !env.ACT }} | ||
with: | ||
cond: ${{ github.event.pull_request.number == '' }} | ||
if_true: "${{ github.sha }}" | ||
if_false: "pull-${{ github.event.pull_request.number }}" | ||
- name: Copy aside bloat report & binaries | ||
run: | | ||
cp -r example_binaries/$BUILD_TYPE-build /tmp/output_binaries/ | ||
- name: Uploading Binaries | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
with: | ||
name: | ||
${{ env.BUILD_TYPE }}-example-build-${{ | ||
steps.outsuffix.outputs.value }} | ||
path: /tmp/output_binaries/${{ env.BUILD_TYPE }}-build | ||
- name: Uploading Size Reports | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
|
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 |
---|---|---|
|
@@ -40,7 +40,6 @@ jobs: | |
image: connectedhomeip/chip-build-k32w:latest | ||
volumes: | ||
- "/tmp/bloat_reports:/tmp/bloat_reports" | ||
- "/tmp/output_binaries:/tmp/output_binaries" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
@@ -84,24 +83,6 @@ jobs: | |
k32w k32w061+se05x+release lighting-app \ | ||
out/lighting_app_se_release/chip-k32w061-light-example \ | ||
/tmp/bloat_reports/ | ||
- name: Binary artifact suffix | ||
id: outsuffix | ||
uses: haya14busa/[email protected] | ||
if: ${{ !env.ACT }} | ||
with: | ||
cond: ${{ github.event.pull_request.number == '' }} | ||
if_true: "${{ github.sha }}" | ||
if_false: "pull-${{ github.event.pull_request.number }}" | ||
- name: Uploading Binaries | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
with: | ||
name: | ||
${{ env.BUILD_TYPE }}-example-build-${{ | ||
steps.outsuffix.outputs.value }} | ||
path: | | ||
out/lock_app_debug/chip-k32w061-lock-example.out | ||
out/lock_app_debug/chip-k32w061-lock-example.out.map | ||
- name: Uploading Size Reports | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
|
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 |
---|---|---|
|
@@ -40,7 +40,6 @@ jobs: | |
image: connectedhomeip/chip-build:0.5.22 | ||
volumes: | ||
- "/tmp/bloat_reports:/tmp/bloat_reports" | ||
- "/tmp/output_binaries:/tmp/output_binaries" | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -124,24 +123,6 @@ jobs: | |
linux debug ota-requestor-app \ | ||
out/ota_requestor_debug/chip-ota-requestor-app \ | ||
/tmp/bloat_reports/ | ||
- name: Binary artifact suffix | ||
id: outsuffix | ||
uses: haya14busa/[email protected] | ||
if: ${{ !env.ACT }} | ||
with: | ||
cond: ${{ github.event.pull_request.number == '' }} | ||
if_true: "${{ github.sha }}" | ||
if_false: "pull-${{ github.event.pull_request.number }}" | ||
- name: Uploading Binaries | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
with: | ||
name: | ||
${{ env.BUILD_TYPE }}-example-build-${{ | ||
steps.outsuffix.outputs.value }} | ||
path: | | ||
out/all_clusters_debug/all-clusters-server | ||
out/all_clusters_debug/all-clusters-server.map | ||
- name: Uploading Size Reports | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
|
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,7 +43,6 @@ jobs: | |
image: connectedhomeip/chip-build-mbed-os:0.5.22 | ||
volumes: | ||
- "/tmp/bloat_reports:/tmp/bloat_reports" | ||
- "/tmp/output_binaries:/tmp/output_binaries" | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -104,34 +103,6 @@ jobs: | |
timeout-minutes: 10 | ||
run: scripts/tests/mbed/mbed_unit_tests.sh -b=$APP_TARGET -p=$APP_PROFILE | ||
|
||
- name: Copy aside build products | ||
run: | | ||
mkdir -p /tmp/output_binaries/$BUILD_TYPE-build | ||
cp examples/lock-app/mbed/build-$APP_TARGET/$APP_PROFILE/chip-mbed-lock-app-example.hex \ | ||
/tmp/output_binaries/$BUILD_TYPE-build/lock-app-$APP_TARGET-$APP_PROFILE.hex | ||
cp examples/lighting-app/mbed/build-$APP_TARGET/$APP_PROFILE/chip-mbed-lighting-app-example.hex \ | ||
/tmp/output_binaries/$BUILD_TYPE-build/lighting-app-$APP_TARGET-$APP_PROFILE.hex | ||
cp examples/all-clusters-app/mbed/build-$APP_TARGET/$APP_PROFILE/chip-mbed-all-clusters-app-example.hex \ | ||
/tmp/output_binaries/$BUILD_TYPE-build/all-clusters-app-$APP_TARGET-$APP_PROFILE.hex | ||
- name: Binary artifacts suffix | ||
id: outsuffix | ||
uses: haya14busa/[email protected] | ||
if: ${{ !env.ACT }} | ||
with: | ||
cond: ${{ github.event.pull_request.number == '' }} | ||
if_true: "${{ github.sha }}" | ||
if_false: "pull-${{ github.event.pull_request.number }}" | ||
|
||
- name: Uploading binaries as artifacts | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
with: | ||
name: | ||
${{ env.BUILD_TYPE }}-binaries-${{ env.APP_TARGET }}-${{ env.APP_PROFILE }}-build-${{ | ||
steps.outsuffix.outputs.value }} | ||
path: /tmp/output_binaries/${{ env.BUILD_TYPE }}-build | ||
|
||
- name: Uploading Size Reports | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
|
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 |
---|---|---|
|
@@ -40,7 +40,6 @@ jobs: | |
image: connectedhomeip/chip-build-nrf-platform:0.5.22 | ||
volumes: | ||
- "/tmp/bloat_reports:/tmp/bloat_reports" | ||
- "/tmp/output_binaries:/tmp/output_binaries" | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -145,29 +144,6 @@ jobs: | |
timeout-minutes: 10 | ||
run: | | ||
scripts/run_in_build_env.sh "scripts/tests/nrfconnect_native_posix_tests.sh native_posix_64" | ||
- name: Copy aside build products | ||
run: | | ||
mkdir -p /tmp/output_binaries/$BUILD_TYPE-build | ||
cp examples/lock-app/nrfconnect/build/nrf52840dk_nrf52840/zephyr/zephyr.elf \ | ||
/tmp/output_binaries/$BUILD_TYPE-build/chip-lock.elf | ||
cp examples/shell/nrfconnect/build/nrf52840dk_nrf52840/zephyr/zephyr.elf \ | ||
/tmp/output_binaries/$BUILD_TYPE-build/chip-shell.elf | ||
- name: Binary artifact suffix | ||
id: outsuffix | ||
uses: haya14busa/[email protected] | ||
if: ${{ !env.ACT }} | ||
with: | ||
cond: ${{ github.event.pull_request.number == '' }} | ||
if_true: "${{ github.sha }}" | ||
if_false: "pull-${{ github.event.pull_request.number }}" | ||
- name: Uploading Binaries | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
with: | ||
name: | ||
${{ env.BUILD_TYPE }}-example-build-${{ | ||
steps.outsuffix.outputs.value }} | ||
path: /tmp/output_binaries/${{ env.BUILD_TYPE }}-build | ||
- name: Uploading Size Reports | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
|
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 |
---|---|---|
|
@@ -40,7 +40,6 @@ jobs: | |
image: connectedhomeip/chip-build:0.5.22 | ||
volumes: | ||
- "/tmp/bloat_reports:/tmp/bloat_reports" | ||
- "/tmp/output_binaries:/tmp/output_binaries" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
@@ -86,24 +85,6 @@ jobs: | |
timeout-minutes: 5 | ||
run: | | ||
config/qpg/chip-gn/build.sh | ||
- name: Binary artifact suffix | ||
id: outsuffix | ||
uses: haya14busa/[email protected] | ||
if: ${{ !env.ACT }} | ||
with: | ||
cond: ${{ github.event.pull_request.number == '' }} | ||
if_true: "${{ github.sha }}" | ||
if_false: "pull-${{ github.event.pull_request.number }}" | ||
- name: Uploading Binaries | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
with: | ||
name: | ||
${{ env.BUILD_TYPE }}-example-build-${{ | ||
steps.outsuffix.outputs.value }} | ||
path: | | ||
out/lighting_app_debug/chip-qpg6100-lighting-example.out | ||
out/lighting_app_debug/chip-qpg6100-lighting-example.out.map | ||
- name: Uploading Size Reports | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ !env.ACT }} | ||
|
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 |
---|---|---|
|
@@ -16,40 +16,58 @@ name: ZAP - Regenerate | |
|
||
on: | ||
workflow_dispatch: | ||
issue_comment: | ||
types: [created] | ||
|
||
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: | ||
zap_regenerate: | ||
name: ZAP - Regenerate | ||
zap_regeneration: | ||
name: ZAP Regeneration | ||
timeout-minutes: 60 | ||
|
||
runs-on: ubuntu-18.04 | ||
if: (github.event.issue.pull_request != '' && contains(github.event.comment.body, '/regenerate')) || (github.event_name == 'workflow_dispatch') | ||
if: github.actor != 'restyled-io[bot]' | ||
|
||
steps: | ||
- name: Checkout the latest code | ||
uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.APPLE_PERSONAL_ACCESS_TOKEN }} | ||
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo | ||
- name: Use Node.js 14.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- name: Use Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '11' | ||
java-package: jre | ||
- run: sudo apt-get update | ||
- run: sudo apt-get install -fy --fix-missing libpixman-1-dev libcairo-dev libsdl-pango-dev libjpeg-dev libgif-dev python-autopep8 | ||
- name: Rebase and regenerate | ||
run: scripts/helpers/rebase_and_regenerate_zap.sh | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.APPLE_PERSONAL_ACCESS_TOKEN }} | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- name: Use Node.js 14.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14.x' | ||
- name: Use Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: 'zulu' | ||
java-version: '11' | ||
java-package: jre | ||
- run: sudo apt-get update | ||
- run: sudo apt-get install --fix-missing libpixman-1-dev libcairo-dev libsdl-pango-dev libjpeg-dev libgif-dev python-autopep8 | ||
- name: Setup ZAP | ||
timeout-minutes: 5 | ||
run: | | ||
cd third_party/zap/repo/ | ||
npm ci | ||
npm run version-stamp | ||
npm rebuild canvas --update-binary | ||
npm run build-spa | ||
- name: Generate all | ||
timeout-minutes: 5 | ||
run: scripts/tools/zap_regen_all.py | ||
- name: Add uncommitted changes | ||
run: git add . | ||
- name: Fix upstream | ||
run: | | ||
git remote set-url origin https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git | ||
git config --global user.email "$USER_EMAIL" | ||
git config --global user.name "$USER_NAME" | ||
env: | ||
COMMITTER_TOKEN: ${{ secrets.MATTER_PAT }} | ||
USER_EMAIL: ${{ secrets.MATTER_PAT_EMAIL }} | ||
USER_NAME: ${{ secrets.MATTER_PAT_NAME }} | ||
GITHUB_REPOSITORY: ${{ github.GITHUB_REPOSITORY }} | ||
- name: Push | ||
run: git push |
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
Binary file added
BIN
+247 Bytes
credentials/test/certification-declaration/Chip-Test-CD-FFF2-8001-8002-WithDACOrigin.der
Binary file not shown.
Binary file added
BIN
+240 Bytes
credentials/test/certification-declaration/Chip-Test-CD-FFF2-8001-8002.der
Binary file not shown.
Binary file added
BIN
+235 Bytes
credentials/test/certification-declaration/Chip-Test-CD-FFF2-8001.der
Binary file not shown.
Binary file added
BIN
+244 Bytes
credentials/test/certification-declaration/Chip-Test-CD-FFF2-8002-WithDACOrigin.der
Binary file not shown.
Binary file added
BIN
+235 Bytes
credentials/test/certification-declaration/Chip-Test-CD-FFF2-8002.der
Binary file not shown.
Binary file added
BIN
+247 Bytes
credentials/test/certification-declaration/Chip-Test-CD-FFF3-8001-8002-WithDACOrigin.der
Binary file not shown.
Binary file added
BIN
+239 Bytes
credentials/test/certification-declaration/Chip-Test-CD-FFF3-8001-8002.der
Binary file not shown.
Binary file added
BIN
+236 Bytes
credentials/test/certification-declaration/Chip-Test-CD-FFF3-8001.der
Binary file not shown.
Binary file added
BIN
+245 Bytes
credentials/test/certification-declaration/Chip-Test-CD-FFF3-8002-WithDACOrigin.der
Binary file not shown.
Binary file added
BIN
+237 Bytes
credentials/test/certification-declaration/Chip-Test-CD-FFF3-8002.der
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
credentials/test/certification-declaration/Chip-Test-CD-Signing-Cert.pem
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,12 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIBszCCAVqgAwIBAgIIRdrzneR6oI8wCgYIKoZIzj0EAwIwKzEpMCcGA1UEAwwg | ||
TWF0dGVyIFRlc3QgQ0QgU2lnbmluZyBBdXRob3JpdHkwIBcNMjEwNjI4MTQyMzQz | ||
WhgPOTk5OTEyMzEyMzU5NTlaMCsxKTAnBgNVBAMMIE1hdHRlciBUZXN0IENEIFNp | ||
Z25pbmcgQXV0aG9yaXR5MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPDmJIkUr | ||
VcrzicJb0bykZWlSzLkOiGkkmthHRlMBTL+V1oeWXgNrUhxRA35rjO3vyh60QEZp | ||
T6CIgu7WUZ3suqNmMGQwEgYDVR0TAQH/BAgwBgEB/wIBATAOBgNVHQ8BAf8EBAMC | ||
AQYwHQYDVR0OBBYEFGL6gjNZrPqplj4c+hQK3fUE83FgMB8GA1UdIwQYMBaAFGL6 | ||
gjNZrPqplj4c+hQK3fUE83FgMAoGCCqGSM49BAMCA0cAMEQCICxUXOTkV9im8NnZ | ||
u+vW7OHd/n+MbZps83UyH8b6xxOEAiBUB3jodDlyUn7t669YaGIgtUB48s1OYqdq | ||
58u5L/VMiw== | ||
-----END CERTIFICATE----- |
5 changes: 5 additions & 0 deletions
5
credentials/test/certification-declaration/Chip-Test-CD-Signing-Key.pem
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,5 @@ | ||
-----BEGIN EC PRIVATE KEY----- | ||
MHcCAQEEIK7zSEEW6UgexXvgRy30G/SZBk5QJK2GnspeiJgC1IB1oAoGCCqGSM49 | ||
AwEHoUQDQgAEPDmJIkUrVcrzicJb0bykZWlSzLkOiGkkmthHRlMBTL+V1oeWXgNr | ||
UhxRA35rjO3vyh60QEZpT6CIgu7WUZ3sug== | ||
-----END EC PRIVATE KEY----- |
Oops, something went wrong.