esp32/boards: Add test manifest to test freezing during build.

Includes tests for freezing @micropython.native and @micropython.viper
code.

Signed-off-by: Damien George <damien@micropython.org>
pull/8531/head
Damien George 2022-04-14 13:10:00 +10:00
rodzic b8d959d6cf
commit be25e333df
2 zmienionych plików z 13 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,10 @@
# Manifest for testing the build.
# Include standard manifest.
include("manifest.py")
# Test freezing @micropython.native code.
freeze("$(MPY_DIR)/tests/micropython", "native_misc.py")
# Test freezing @micropython.viper code.
freeze("$(MPY_DIR)/tests/micropython", "viper_misc.py")

Wyświetl plik

@ -131,7 +131,9 @@ function ci_esp32_build {
source esp-idf/export.sh
make ${MAKEOPTS} -C mpy-cross
make ${MAKEOPTS} -C ports/esp32 submodules
make ${MAKEOPTS} -C ports/esp32 USER_C_MODULES=../../../examples/usercmodule/micropython.cmake FROZEN_MANIFEST=$(pwd)/ports/esp32/boards/manifest.py
make ${MAKEOPTS} -C ports/esp32 \
USER_C_MODULES=../../../examples/usercmodule/micropython.cmake \
FROZEN_MANIFEST=$(pwd)/ports/esp32/boards/manifest_test.py
if [ -d $IDF_PATH/components/esp32c3 ]; then
make ${MAKEOPTS} -C ports/esp32 BOARD=GENERIC_C3
fi