Skip to content

Commit 658a2e3

Browse files
committed
github/workflows: Add a CI job to build ESP32-C2 and ESP32-C6 boards.
So that all six supported SoCs are built by CI. Signed-off-by: Damien George <damien@micropython.org>
1 parent 3c9546e commit 658a2e3

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ports_esp32.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
ci_func: # names are functions in ci.sh
2626
- esp32_build_cmod_spiram_s2
2727
- esp32_build_s3_c3
28+
- esp32_build_c2_c6
2829
runs-on: ubuntu-latest
2930
steps:
3031
- uses: actions/checkout@v4

tools/ci.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,13 @@ function ci_esp32_build_s3_c3 {
214214
make ${MAKEOPTS} -C ports/esp32 BOARD=ESP32_GENERIC_C3
215215
}
216216

217+
function ci_esp32_build_c2_c6 {
218+
ci_esp32_build_common
219+
220+
make ${MAKEOPTS} -C ports/esp32 BOARD=ESP32_GENERIC_C2
221+
make ${MAKEOPTS} -C ports/esp32 BOARD=ESP32_GENERIC_C6
222+
}
223+
217224
########################################################################################
218225
# ports/esp8266
219226

0 commit comments

Comments
 (0)