From 4667af4a9a62d50d0b09c0c9ba8024e3002f16eb Mon Sep 17 00:00:00 2001 From: Ali Jahangiri <75624145+aliphys@users.noreply.github.com> Date: Wed, 21 Aug 2024 18:34:06 +0200 Subject: [PATCH 1/4] ci: add Nicla Vision to build --- .github/workflows/compile-examples.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 7912e76..4a46123 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -54,6 +54,10 @@ jobs: artifact-name-suffix: arduino-renesas_portenta-portenta_c33 additional-sketch-paths: | - examples/Standby_WakeFromRTC_C33 + - fqbn: arduino:mbed_nicla:nicla_vision + platforms: | + - name: arduino:mbed_nicla + artifact-name-suffix: arduino-mbed_nicla-nicla_vision steps: - name: Checkout repository @@ -70,6 +74,7 @@ jobs: - name: Arduino_PF1550 - name: Arduino_LowPowerPortentaH7 - source-url: https://github.com/arduino-libraries/Arduino_LowPowerPortentaC33.git + - source-url: https://github.com/bcmi-labs/Arduino_LowPowerNiclaVision.git sketch-paths: | ${{ env.UNIVERSAL_SKETCH_PATHS }} ${{ matrix.board.additional-sketch-paths }} From 794b393a7cfdb17c684dd3d31d14bc75f6be0c2a Mon Sep 17 00:00:00 2001 From: Ali Jahangiri <75624145+aliphys@users.noreply.github.com> Date: Thu, 29 Aug 2024 08:14:32 +0200 Subject: [PATCH 2/4] ci: add PAT (classic) --- .github/workflows/compile-examples.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 4a46123..1fe5316 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -62,6 +62,13 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + + - name: Checkout private library repo + uses: actions/checkout@v4 + with: + repository: bcmi-labs/Arduino_LowPowerNiclaVision + token: ${{ secrets.GH_PAT }} + path: Arduino_LowPowerNiclaVision - name: Compile examples uses: arduino/compile-sketches@v1 @@ -74,7 +81,8 @@ jobs: - name: Arduino_PF1550 - name: Arduino_LowPowerPortentaH7 - source-url: https://github.com/arduino-libraries/Arduino_LowPowerPortentaC33.git - - source-url: https://github.com/bcmi-labs/Arduino_LowPowerNiclaVision.git + - source-path: ./Arduino_LowPowerNiclaVision + sketch-paths: | ${{ env.UNIVERSAL_SKETCH_PATHS }} ${{ matrix.board.additional-sketch-paths }} From afeb0f3b2da7180c3dd9724f18e4ec4df2573669 Mon Sep 17 00:00:00 2001 From: Ali Jahangiri <75624145+aliphys@users.noreply.github.com> Date: Thu, 29 Aug 2024 10:02:23 +0200 Subject: [PATCH 3/4] ci: remove LowPower library for Nicla Vision --- .github/workflows/compile-examples.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 1fe5316..e8b9c3c 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -63,13 +63,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Checkout private library repo - uses: actions/checkout@v4 - with: - repository: bcmi-labs/Arduino_LowPowerNiclaVision - token: ${{ secrets.GH_PAT }} - path: Arduino_LowPowerNiclaVision - - name: Compile examples uses: arduino/compile-sketches@v1 with: @@ -81,8 +74,6 @@ jobs: - name: Arduino_PF1550 - name: Arduino_LowPowerPortentaH7 - source-url: https://github.com/arduino-libraries/Arduino_LowPowerPortentaC33.git - - source-path: ./Arduino_LowPowerNiclaVision - sketch-paths: | ${{ env.UNIVERSAL_SKETCH_PATHS }} ${{ matrix.board.additional-sketch-paths }} From 41b4adb018d3f18dd008641164f907c37eea362f Mon Sep 17 00:00:00 2001 From: Ali Jahangiri <75624145+aliphys@users.noreply.github.com> Date: Thu, 29 Aug 2024 10:03:05 +0200 Subject: [PATCH 4/4] ci: remove `examples/Standby_WakeFromPin` check for Nicla Vision --- .github/workflows/compile-examples.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index e8b9c3c..5ee2080 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -25,7 +25,6 @@ env: UNIVERSAL_SKETCH_PATHS: | - examples/Battery - examples/Charger - - examples/Standby_WakeFromPin SKETCHES_REPORTS_PATH: sketches-reports SKETCHES_REPORTS_ARTIFACT_NAME: sketches-reports @@ -48,12 +47,14 @@ jobs: artifact-name-suffix: arduino-mbed_portenta-envie_m7 additional-sketch-paths: | - examples/Standby_WakeFromRTC_H7 + - examples/Standby_WakeFromPin - fqbn: arduino:renesas_portenta:portenta_c33 platforms: | - name: arduino:renesas_portenta artifact-name-suffix: arduino-renesas_portenta-portenta_c33 additional-sketch-paths: | - examples/Standby_WakeFromRTC_C33 + - examples/Standby_WakeFromPin - fqbn: arduino:mbed_nicla:nicla_vision platforms: | - name: arduino:mbed_nicla