tools/ci.sh: Build native .mpy examples for armv7emsp, xtensawin in CI.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
abb3850398
commit
313f082896
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user