Skip to content

Commit 3ea778e

Browse files
committed
ci: add Espressif ESP32 and ESP32S2
Add CI content. Signed-off-by: Sylvio Alves <[email protected]>
1 parent 930c940 commit 3ea778e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ on:
4747
- xtensa-nxp_imx_adsp_zephyr-elf
4848
- xtensa-nxp_imx8m_adsp_zephyr-elf
4949
- xtensa-sample_controller_zephyr-elf
50+
- xtensa-espressif_esp32_zephyr-elf
51+
- xtensa-espressif_esp32s2_zephyr-elf
5052

5153
concurrency:
5254
group: ${{ github.event_name == 'workflow_dispatch' && github.run_id || github.ref }}
@@ -128,6 +130,8 @@ jobs:
128130
xtensa-nxp_imx_adsp_zephyr-elf) build_target_xtensa_nxp_imx_adsp_zephyr_elf="y";;
129131
xtensa-nxp_imx8m_adsp_zephyr-elf) build_target_xtensa_nxp_imx8m_adsp_zephyr_elf="y";;
130132
xtensa-sample_controller_zephyr-elf) build_target_xtensa_sample_controller_zephyr_elf="y";;
133+
xtensa-espressif_esp32_zephyr-elf) build_target_xtensa_espressif_esp32_zephyr_elf="y";;
134+
xtensa-espressif_esp32s2_zephyr-elf) build_target_xtensa_espressif_esp32s2_zephyr_elf="y";;
131135
esac
132136
else
133137
# Build all for pushes and releases
@@ -160,6 +164,8 @@ jobs:
160164
build_target_xtensa_nxp_imx_adsp_zephyr_elf="y"
161165
build_target_xtensa_nxp_imx8m_adsp_zephyr_elf="y"
162166
build_target_xtensa_sample_controller_zephyr_elf="y"
167+
build_target_xtensa_espressif_esp32_zephyr_elf="y"
168+
build_target_xtensa_espressif_esp32s2_zephyr_elf="y"
163169
fi
164170
165171
# Build 'linux_x86_64' by default if no host is selected
@@ -234,6 +240,8 @@ jobs:
234240
[ "${build_target_xtensa_nxp_imx_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_imx_adsp_zephyr-elf",'
235241
[ "${build_target_xtensa_nxp_imx8m_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_imx8m_adsp_zephyr-elf",'
236242
[ "${build_target_xtensa_sample_controller_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-sample_controller_zephyr-elf",'
243+
[ "${build_target_xtensa_espressif_esp32_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32_zephyr-elf",'
244+
[ "${build_target_xtensa_espressif_esp32s2_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32s2_zephyr-elf",'
237245
MATRIX_TARGETS+=']'
238246
239247
# Generate test environment list
@@ -1255,6 +1263,12 @@ jobs:
12551263
xtensa-sample_controller_zephyr-elf)
12561264
PLATFORM_ARGS+="-p qemu_xtensa "
12571265
;;
1266+
xtensa-espressif_esp32_zephyr-elf)
1267+
PLATFORM_ARGS+="-p esp32 "
1268+
;;
1269+
xtensa-espressif_esp32s2_zephyr-elf)
1270+
PLATFORM_ARGS+="-p esp32s2 "
1271+
;;
12581272
esac
12591273
done
12601274

0 commit comments

Comments
 (0)