From ecfc5991d8403041974025ecdbb3523330085ca0 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 7 Oct 2021 20:17:40 -0700 Subject: [PATCH 1/2] Add missing library dependency to "smoke test" CI workflow A new example sketch ("ArduinoLogo") was added to the "Portenta_Video" library. This sketch has a dependency on the "lvgl" library, so it must be installed by the "smoke test" sketch compilation CI workflow to avoid a spurious compilation failure. --- .github/workflows/compile-examples.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 6a553a6c0..d0647d505 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -48,6 +48,9 @@ jobs: - libraries/ThreadDebug - board: fqbn: arduino:mbed:envie_m4 + additional-libraries: | + - name: lvgl + version: 7.11.0 additional-sketch-paths: | - libraries/doom - libraries/KernelDebug @@ -56,6 +59,9 @@ jobs: - libraries/RPC - board: fqbn: arduino:mbed:envie_m7 + additional-libraries: | + - name: lvgl + version: 7.11.0 additional-sketch-paths: | - libraries/PDM - libraries/doom @@ -99,6 +105,7 @@ jobs: fqbn: ${{ matrix.board.fqbn }} libraries: | - name: WiFiNINA + ${{ matrix.additional-libraries }} platforms: | # Use Board Manager to install the latest release of Arduino mbed Boards to get the toolchain - name: "arduino:mbed" From 2bee356a66ceabf1bde7e03de9abcc5f1e6537c8 Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 7 Oct 2021 20:41:45 -0700 Subject: [PATCH 2/2] Expand "smoke test" CI workflow to cover new examples Previously, some of the bundled libraries did not provide example sketches, meaning there was no way to run a "smoke test" on them via the sketch compilation CI workflow. Now that examples have been added for these libraries, it is possible to get a basic check that the code compiles. --- .github/workflows/compile-examples.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index d0647d505..f533fc059 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -46,6 +46,8 @@ jobs: additional-sketch-paths: | - libraries/PDM - libraries/ThreadDebug + - libraries/USBHID + - libraries/USBMSD/examples/Nano33BLE_FlashMassStorage - board: fqbn: arduino:mbed:envie_m4 additional-libraries: | @@ -55,6 +57,7 @@ jobs: - libraries/doom - libraries/KernelDebug - libraries/Portenta_SDCARD + - libraries/Portenta_SDRAM - libraries/Portenta_Video - libraries/RPC - board: @@ -68,16 +71,20 @@ jobs: - libraries/KernelDebug - libraries/Portenta_Camera/examples - libraries/Portenta_SDCARD + - libraries/Portenta_SDRAM - libraries/Portenta_System - libraries/Portenta_Video - libraries/RPC - libraries/ThreadDebug + - libraries/USBHID - libraries/USBHOST + - libraries/USBMSD/examples/AccessFlashAsUSBDisk - libraries/WiFi - board: fqbn: arduino:mbed:nanorp2040connect additional-sketch-paths: | - libraries/PDM + - libraries/USBHID - ~/Arduino/libraries/WiFiNINA - board: fqbn: arduino:mbed:nicla_sense