Skip to content

Commit

Permalink
[.github/workflows] Added pigweed-app related builds to workflows.
Browse files Browse the repository at this point in the history
There is no build validation in CI for pigweed-app,
as this app related builds are not ran in the github workflows.

* Modified nrfconnect_example.sh to take board name as an mandatory
argument and also allow passing list of additional arguments
(e.g. attaching overlays).
* Added pigweed-app build to the nrfconnect github workflows.
* Renamed esp_echo_app.sh to the esp_example.sh and modified it
to take application name as an argument.
* Added pigweed-app build to the esp32 github workflow.
* Renamed Echo App build step to the All Clusters App in the esp32
and qemu github workflows, as in fact that app is being build.
  • Loading branch information
kkasperczyk-no committed Feb 5, 2021
1 parent 43e5ae6 commit 8432de8
Show file tree
Hide file tree
Showing 2,219 changed files with 101,989 additions and 41 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/examples-esp32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,20 @@ jobs:
with:
languages: "cpp, python"
queries: +security-and-quality
- name: Build example Echo App
run: scripts/examples/esp_echo_app.sh
- name: Build example All Clusters App
run: scripts/examples/esp_example.sh all-clusters-app
- name: Copy aside build products
run: |
mkdir -p example_binaries/$BUILD_TYPE-build
cp examples/all-clusters-app/esp32/build/chip-all-clusters-app.elf \
example_binaries/$BUILD_TYPE-build/chip-all-clusters-app.elf
- name: Build example Pigweed App
run: scripts/examples/esp_example.sh pigweed-app
- name: Copy aside build products
run: |
mkdir -p example_binaries/$BUILD_TYPE-build
cp examples/pigweed-app/esp32/build/chip-pigweed-app.elf \
example_binaries/$BUILD_TYPE-build/chip-pigweed-app.elf
- name: Binary artifact suffix
id: outsuffix
uses: haya14busa/[email protected]
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/examples-nrfconnect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ jobs:
# with:
# languages: "cpp, python"
# queries: +security-and-quality
- name: Build example nRF Connect SDK Lock App
run: scripts/examples/nrfconnect_example.sh lock-app
- name: Build example nRF Connect SDK Lighting App
run: scripts/examples/nrfconnect_example.sh lighting-app
- name: Build example nRF Connect SDK Shell
run: scripts/examples/nrfconnect_example.sh shell
- name: Build example nRF Connect SDK Lock App on nRF52840 DK
run: scripts/examples/nrfconnect_example.sh lock-app nrf52840dk_nrf52840
- name: Build example nRF Connect SDK Lighting App on nRF52840 DK
run: scripts/examples/nrfconnect_example.sh lighting-app nrf52840dk_nrf52840
- name: Build example nRF Connect SDK Shell on nRF52840 DK
run: scripts/examples/nrfconnect_example.sh shell nrf52840dk_nrf52840
- name: Build example nRF Connect SDK Pigweed on nRF52840 DK
run: scripts/examples/nrfconnect_example.sh pigweed-app nrf52840dk_nrf52840
- name: Run unit tests for Zephyr native_posix_64 platform
run:
scripts/tests/nrfconnect_native_posix_tests.sh native_posix_64
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/qemu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
uses: actions/checkout@v2
with:
submodules: true
- name: Build example Echo App
run: scripts/examples/esp_echo_app.sh
- name: Build example All Clusters App
run: scripts/examples/esp_example.sh all-clusters-app
- name: Build ESP32 QEMU and Run Tests
run: scripts/tests/esp32_qemu_tests.sh /tmp/test_logs
- name: Uploading Logs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
submodules: true
- name: Build
run: scripts/examples/esp_echo_app.sh
run: scripts/examples/esp_example.sh all-clusters-app

- name: Upload artifact
run: |
Expand Down
16 changes: 8 additions & 8 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@
"problemMatcher": ["$gcc"]
},
{
"label": "Build nRF Connect Lock Example",
"label": "Build nRF Connect Lock Example (nRF52840)",
"type": "shell",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh lock-app",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh lock-app nrf52840dk_nrf52840",
"group": "build",
"problemMatcher": {
"base": "$gcc",
Expand All @@ -194,9 +194,9 @@
}
},
{
"label": "Build nRF Connect Lighting Example",
"label": "Build nRF Connect Lighting Example (nRF52840)",
"type": "shell",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh lighting-app",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh lighting-app nrf52840dk_nrf52840",
"group": "build",
"problemMatcher": {
"base": "$gcc",
Expand All @@ -207,9 +207,9 @@
}
},
{
"label": "Build nRF Connect Shell Example",
"label": "Build nRF Connect Shell Example (nRF52840)",
"type": "shell",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh shell",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh shell nrf52840dk_nrf52840",
"group": "build",
"problemMatcher": {
"base": "$gcc",
Expand All @@ -220,9 +220,9 @@
}
},
{
"label": "Build nRF Connect Pigweed Example",
"label": "Build nRF Connect Pigweed Example (nRF52840)",
"type": "shell",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh pigweed-app",
"command": "source scripts/activate.sh && scripts/examples/nrfconnect_example.sh pigweed-app nrf52840dk_nrf52840",
"group": "build",
"problemMatcher": {
"base": "$gcc",
Expand Down
2 changes: 1 addition & 1 deletion examples/pigweed-app/esp32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# project subdirectory.
#

PROJECT_NAME := pw-rpc-app
PROJECT_NAME := pigweed-app

EXTRA_COMPONENT_DIRS += $(PROJECT_PATH)/third_party/connectedhomeip/config/esp32/components \

Expand Down
164 changes: 164 additions & 0 deletions examples/pigweed-app/esp32/build/app_trace/app_trace.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
app_trace.o: /home/kamil/tools/esp-idf/components/app_trace/app_trace.c \
/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/soc.h \
/home/kamil/tools/esp-idf/components/esp_common/include/esp_assert.h \
/home/kamil/chip/connectedhomeip/examples/pigweed-app/esp32/third_party/connectedhomeip/third_party/pigweed/repo/pw_polyfill/public_overrides/assert.h \
/home/kamil/tools/esp-idf/components/newlib/platform_include/assert.h \
/home/kamil/chip/connectedhomeip/examples/pigweed-app/esp32/build/include/sdkconfig.h \
/home/kamil/tools/esp-idf/components/esp_common/include/esp_compiler.h \
/home/kamil/chip/connectedhomeip/examples/pigweed-app/esp32/third_party/connectedhomeip/third_party/pigweed/repo/pw_polyfill/standard_library_public/pw_polyfill/standard_library/assert.h \
/home/kamil/tools/esp-idf/components/esp_common/include/esp_bit_defs.h \
/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/dport_reg.h \
/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/soc.h \
/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/dport_access.h \
/home/kamil/tools/esp-idf/components/xtensa/include/esp_attr.h \
/home/kamil/tools/esp-idf/components/esp32/include/esp32/dport_access.h \
/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/uart_reg.h \
/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/xtruntime.h \
/home/kamil/tools/esp-idf/components/xtensa/esp32/include/xtensa/config/core.h \
/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/hal.h \
/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/xtensa-versions.h \
/home/kamil/tools/esp-idf/components/xtensa/esp32/include/xtensa/config/core-matmap.h \
/home/kamil/tools/esp-idf/components/xtensa/esp32/include/xtensa/config/tie.h \
/home/kamil/tools/esp-idf/components/xtensa/esp32/include/xtensa/config/specreg.h \
/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/corebits.h \
/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/xtruntime-core-state.h \
/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/xtruntime-frames.h \
/home/kamil/tools/esp-idf/components/xtensa/include/eri.h \
/home/kamil/tools/esp-idf/components/xtensa/include/trax.h \
/home/kamil/tools/esp-idf/components/esp_common/include/esp_err.h \
/home/kamil/tools/esp-idf/components/xtensa/include/eri.h \
/home/kamil/tools/esp-idf/components/xtensa/include/xtensa-debug-module.h \
/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/cpu.h \
/home/kamil/tools/esp-idf/components/soc/include/soc/timer_periph.h \
/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/timer_group_reg.h \
/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/timer_group_struct.h \
/home/kamil/tools/esp-idf/components/freertos/include/freertos/FreeRTOS.h \
/home/kamil/tools/esp-idf/components/freertos/include/freertos/FreeRTOSConfig.h \
/home/kamil/tools/esp-idf/components/freertos/include/freertos/xtensa_config.h \
/home/kamil/tools/esp-idf/components/xtensa/esp32/include/xtensa/config/system.h \
/home/kamil/tools/esp-idf/components/freertos/include/freertos/xtensa_context.h \
/home/kamil/tools/esp-idf/components/esp_rom/include/esp32/rom/ets_sys.h \
/home/kamil/tools/esp-idf/components/freertos/include/freertos/projdefs.h \
/home/kamil/tools/esp-idf/components/freertos/include/freertos/portable.h \
/home/kamil/tools/esp-idf/components/freertos/include/freertos/deprecated_definitions.h \
/home/kamil/tools/esp-idf/components/freertos/include/freertos/portmacro.h \
/home/kamil/tools/esp-idf/components/esp_common/include/esp_private/crosscore_int.h \
/home/kamil/tools/esp-idf/components/esp_common/include/esp_timer.h \
/home/kamil/tools/esp-idf/components/esp32/include/esp32/clk.h \
/home/kamil/tools/esp-idf/components/heap/include/esp_heap_caps.h \
/home/kamil/tools/esp-idf/components/heap/include/multi_heap.h \
/home/kamil/tools/esp-idf/components/freertos/include/freertos/portbenchmark.h \
/home/kamil/tools/esp-idf/components/freertos/include/freertos/mpu_wrappers.h \
/home/kamil/tools/esp-idf/components/esp_common/include/esp_system.h \
/home/kamil/tools/esp-idf/components/esp_common/include/esp_idf_version.h \
/home/kamil/tools/esp-idf/components/app_trace/include/esp_app_trace.h \
/home/kamil/tools/esp-idf/components/app_trace/include/esp_app_trace_util.h

/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/soc.h:

/home/kamil/tools/esp-idf/components/esp_common/include/esp_assert.h:

/home/kamil/chip/connectedhomeip/examples/pigweed-app/esp32/third_party/connectedhomeip/third_party/pigweed/repo/pw_polyfill/public_overrides/assert.h:

/home/kamil/tools/esp-idf/components/newlib/platform_include/assert.h:

/home/kamil/chip/connectedhomeip/examples/pigweed-app/esp32/build/include/sdkconfig.h:

/home/kamil/tools/esp-idf/components/esp_common/include/esp_compiler.h:

/home/kamil/chip/connectedhomeip/examples/pigweed-app/esp32/third_party/connectedhomeip/third_party/pigweed/repo/pw_polyfill/standard_library_public/pw_polyfill/standard_library/assert.h:

/home/kamil/tools/esp-idf/components/esp_common/include/esp_bit_defs.h:

/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/dport_reg.h:

/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/soc.h:

/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/dport_access.h:

/home/kamil/tools/esp-idf/components/xtensa/include/esp_attr.h:

/home/kamil/tools/esp-idf/components/esp32/include/esp32/dport_access.h:

/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/uart_reg.h:

/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/xtruntime.h:

/home/kamil/tools/esp-idf/components/xtensa/esp32/include/xtensa/config/core.h:

/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/hal.h:

/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/xtensa-versions.h:

/home/kamil/tools/esp-idf/components/xtensa/esp32/include/xtensa/config/core-matmap.h:

/home/kamil/tools/esp-idf/components/xtensa/esp32/include/xtensa/config/tie.h:

/home/kamil/tools/esp-idf/components/xtensa/esp32/include/xtensa/config/specreg.h:

/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/corebits.h:

/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/xtruntime-core-state.h:

/home/kamil/tools/esp-idf/components/xtensa/include/xtensa/xtruntime-frames.h:

/home/kamil/tools/esp-idf/components/xtensa/include/eri.h:

/home/kamil/tools/esp-idf/components/xtensa/include/trax.h:

/home/kamil/tools/esp-idf/components/esp_common/include/esp_err.h:

/home/kamil/tools/esp-idf/components/xtensa/include/eri.h:

/home/kamil/tools/esp-idf/components/xtensa/include/xtensa-debug-module.h:

/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/cpu.h:

/home/kamil/tools/esp-idf/components/soc/include/soc/timer_periph.h:

/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/timer_group_reg.h:

/home/kamil/tools/esp-idf/components/soc/esp32/include/soc/timer_group_struct.h:

/home/kamil/tools/esp-idf/components/freertos/include/freertos/FreeRTOS.h:

/home/kamil/tools/esp-idf/components/freertos/include/freertos/FreeRTOSConfig.h:

/home/kamil/tools/esp-idf/components/freertos/include/freertos/xtensa_config.h:

/home/kamil/tools/esp-idf/components/xtensa/esp32/include/xtensa/config/system.h:

/home/kamil/tools/esp-idf/components/freertos/include/freertos/xtensa_context.h:

/home/kamil/tools/esp-idf/components/esp_rom/include/esp32/rom/ets_sys.h:

/home/kamil/tools/esp-idf/components/freertos/include/freertos/projdefs.h:

/home/kamil/tools/esp-idf/components/freertos/include/freertos/portable.h:

/home/kamil/tools/esp-idf/components/freertos/include/freertos/deprecated_definitions.h:

/home/kamil/tools/esp-idf/components/freertos/include/freertos/portmacro.h:

/home/kamil/tools/esp-idf/components/esp_common/include/esp_private/crosscore_int.h:

/home/kamil/tools/esp-idf/components/esp_common/include/esp_timer.h:

/home/kamil/tools/esp-idf/components/esp32/include/esp32/clk.h:

/home/kamil/tools/esp-idf/components/heap/include/esp_heap_caps.h:

/home/kamil/tools/esp-idf/components/heap/include/multi_heap.h:

/home/kamil/tools/esp-idf/components/freertos/include/freertos/portbenchmark.h:

/home/kamil/tools/esp-idf/components/freertos/include/freertos/mpu_wrappers.h:

/home/kamil/tools/esp-idf/components/esp_common/include/esp_system.h:

/home/kamil/tools/esp-idf/components/esp_common/include/esp_idf_version.h:

/home/kamil/tools/esp-idf/components/app_trace/include/esp_app_trace.h:

/home/kamil/tools/esp-idf/components/app_trace/include/esp_app_trace_util.h:
/home/kamil/tools/esp-idf/components/app_trace/./app_trace.c:
Binary file not shown.
Loading

0 comments on commit 8432de8

Please sign in to comment.