mirror of
https://github.com/espressif/esp-phy-lib.git
synced 2025-10-14 03:05:40 +08:00
20 lines
1.0 KiB
YAML
Executable File
20 lines
1.0 KiB
YAML
Executable File
stages:
|
|
- check
|
|
|
|
check_lib_reversion:
|
|
stage: check
|
|
except:
|
|
- master
|
|
- /^release\/v/
|
|
image: $CI_DOCKER_REGISTRY/esp32-ci-env
|
|
variables:
|
|
GIT_SUBMODULE_STRATEGY: none
|
|
script:
|
|
- mkdir riscv32
|
|
- wget https://github.com/espressif/crosstool-NG/releases/download/esp-2021r2-patch3/riscv32-esp-elf-gcc8_4_0-esp-2021r2-patch3-linux-amd64.tar.gz >/dev/null 2>&1
|
|
- tar -zxvf riscv32-esp-elf-gcc8_4_0-esp-2021r2-patch3-linux-amd64.tar.gz -C ./riscv32 >/dev/null 2>&1
|
|
- for dir in esp32c2 esp32c3 esp32c6 esp32h2; do test $(riscv32/riscv32-esp-elf/bin/riscv32-esp-elf-nm $dir/*.a | grep -w printf | wc -l) -eq 0; done;
|
|
- for dir in esp32c2 esp32c3 esp32c6 esp32h2; do test $(riscv32/riscv32-esp-elf/bin/riscv32-esp-elf-nm $dir/*.a | grep -w ets_printf | wc -l) -eq 0; done;
|
|
- for dir in esp32 esp32s2 esp32s3; do test $(xtensa-esp32-elf-nm $dir/*.a | grep -w printf | wc -l) -eq 0; done;
|
|
- for dir in esp32 esp32s2 esp32s3; do test $(xtensa-esp32-elf-nm $dir/*.a | grep -w ets_printf | wc -l) -eq 0; done;
|