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>
This commit is contained in:
parent
b8d959d6cf
commit
be25e333df
10
ports/esp32/boards/manifest_test.py
Normal file
10
ports/esp32/boards/manifest_test.py
Normal file
@ -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")
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user