From 313f082896bbf969dd91497151419efa6c42c148 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 9 Jun 2022 11:59:09 +1000 Subject: [PATCH] tools/ci.sh: Build native .mpy examples for armv7emsp, xtensawin in CI. Signed-off-by: Damien George --- tools/ci.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/ci.sh b/tools/ci.sh index 4490099b6b..345aea84a0 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -100,6 +100,7 @@ function ci_cc3200_build { # ports/esp32 function ci_esp32_setup_helper { + pip3 install pyelftools git clone https://github.com/espressif/esp-idf.git git -C esp-idf checkout $1 git -C esp-idf submodule update --init \ @@ -143,6 +144,9 @@ function ci_esp32_build { if [ -d $IDF_PATH/components/esp32s3 ]; then make ${MAKEOPTS} -C ports/esp32 BOARD=GENERIC_S3 fi + + # Test building native .mpy with xtensawin architecture. + ci_native_mpy_modules_build xtensawin } ######################################################################################## @@ -297,6 +301,7 @@ function ci_samd_build { function ci_stm32_setup { ci_gcc_arm_setup + pip3 install pyelftools pip3 install pyhy } @@ -311,6 +316,10 @@ function ci_stm32_pyb_build { make ${MAKEOPTS} -C ports/stm32/mboot BOARD=PYBV10 CFLAGS_EXTRA='-DMBOOT_FSLOAD=1 -DMBOOT_VFS_LFS2=1' make ${MAKEOPTS} -C ports/stm32/mboot BOARD=PYBD_SF6 make ${MAKEOPTS} -C ports/stm32/mboot BOARD=STM32F769DISC CFLAGS_EXTRA='-DMBOOT_ADDRESS_SPACE_64BIT=1 -DMBOOT_SDCARD_ADDR=0x100000000ULL -DMBOOT_SDCARD_BYTE_SIZE=0x400000000ULL -DMBOOT_FSLOAD=1 -DMBOOT_VFS_FAT=1' + + # Test building native .mpy with armv7emsp architecture. + git submodule update --init lib/berkeley-db-1.xx + ci_native_mpy_modules_build armv7emsp } function ci_stm32_nucleo_build {