diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2025-03-07 00:04:14 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-03-17 13:04:53 +1100 |
| commit | 1a7cbac879fa578cd992a3baf10950180e89340d (patch) | |
| tree | 52437083e31974590b007a73de69dab6dfea3a8d /tools | |
| parent | 51976110e2da32b7a5b7035b7d5f17ab49bbd40e (diff) | |
tools/ci.sh: Build Xtensa natmods as part of the CI process.
This commit expands the CI tests by checking whether the example native
modules are able to be built for the Xtensa architecture.
This was made possible by the changes to mpy_ld that allow symbol
resolution across standard compiler-provided libraries.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/ci.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/ci.sh b/tools/ci.sh index 5d57175c8..7105b2460 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -197,7 +197,7 @@ function ci_esp32_build_s3_c3 { # ports/esp8266 function ci_esp8266_setup { - sudo pip install pyserial esptool==3.3.1 + sudo pip3 install pyserial esptool==3.3.1 pyelftools ar wget https://github.com/jepler/esp-open-sdk/releases/download/2018-06-10/xtensa-lx106-elf-standalone.tar.gz zcat xtensa-lx106-elf-standalone.tar.gz | tar x # Remove this esptool.py so pip version is used instead @@ -214,6 +214,9 @@ function ci_esp8266_build { make ${MAKEOPTS} -C ports/esp8266 BOARD=ESP8266_GENERIC make ${MAKEOPTS} -C ports/esp8266 BOARD=ESP8266_GENERIC BOARD_VARIANT=FLASH_512K make ${MAKEOPTS} -C ports/esp8266 BOARD=ESP8266_GENERIC BOARD_VARIANT=FLASH_1M + + # Test building native .mpy with xtensa architecture. + ci_native_mpy_modules_build xtensa } ######################################################################################## |
