Skip to content

Commit f6e23fd

Browse files
committed
tools/ci.sh: Test building all natmod examples with all ARM-M archs.
And run both armv6m and armv7m under qemu. Signed-off-by: Damien George <[email protected]>
1 parent e750ecf commit f6e23fd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

tools/ci.sh

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -346,9 +346,15 @@ function ci_qemu_build_arm_thumb {
346346
ci_qemu_build_arm_prepare
347347
make ${MAKEOPTS} -C ports/qemu test_full
348348

349-
# Test building and running native .mpy with armv7m architecture.
349+
# Test building native .mpy with all ARM-M architectures.
350+
ci_native_mpy_modules_build armv6m
350351
ci_native_mpy_modules_build armv7m
351-
make ${MAKEOPTS} -C ports/qemu test_natmod
352+
ci_native_mpy_modules_build armv7emsp
353+
ci_native_mpy_modules_build armv7emdp
354+
355+
# Test running native .mpy with armv6m and armv7m architectures.
356+
make ${MAKEOPTS} -C ports/qemu test_natmod RUN_TESTS_EXTRA="--arch armv6m"
357+
make ${MAKEOPTS} -C ports/qemu test_natmod RUN_TESTS_EXTRA="--arch armv7m"
352358
}
353359

354360
function ci_qemu_build_rv32 {
@@ -442,10 +448,6 @@ function ci_stm32_pyb_build {
442448
make ${MAKEOPTS} -C ports/stm32/mboot BOARD=PYBV10 CFLAGS_EXTRA='-DMBOOT_FSLOAD=1 -DMBOOT_VFS_LFS2=1'
443449
make ${MAKEOPTS} -C ports/stm32/mboot BOARD=PYBD_SF6
444450
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'
445-
446-
# Test building native .mpy with armv7emsp architecture.
447-
git submodule update --init lib/berkeley-db-1.xx
448-
ci_native_mpy_modules_build armv7emsp
449451
}
450452

451453
function ci_stm32_nucleo_build {

0 commit comments

Comments
 (0)