tools/ci.sh: Exit with error if zcat fails during ci_esp8266_setup.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
This commit is contained in:
Jeff Epler
2025-09-03 13:50:28 -05:00
committed by Damien George
parent 0224b99863
commit 449866cb0a

View File

@@ -232,7 +232,7 @@ function ci_esp32_build_c2_c6 {
function ci_esp8266_setup {
sudo pip3 install pyserial esptool==3.3.1 pyelftools ar
wget https://micropython.org/resources/xtensa-lx106-elf-standalone.tar.gz
zcat xtensa-lx106-elf-standalone.tar.gz | tar x
(set -o pipefile; zcat xtensa-lx106-elf-standalone.tar.gz | tar x)
# Remove this esptool.py so pip version is used instead
rm xtensa-lx106-elf/bin/esptool.py
}