Commit 313f0828 authored by Damien George's avatar Damien George

tools/ci.sh: Build native .mpy examples for armv7emsp, xtensawin in CI.

Signed-off-by: default avatarDamien George <damien@micropython.org>
parent abb38503
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment