ci: fix wget error downloading arm-gcc-embedded

Disable certificate verification for developer.arm.com to avoid
certificate issues when installing arm embedded tools to build Mynewt.

Signed-off-by: Fabio Utzig <utzig@apache.org>
This commit is contained in:
Fabio Utzig 2021-09-16 07:09:38 -03:00 committed by Fabio Utzig
parent f7319e61fb
commit 34f68ed67c
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ arm_toolchain_install() {
mkdir -p $TOOLCHAIN_PATH
if [ ! -s ${TOOLCHAIN_PATH}/$GCC_BASE/bin/arm-none-eabi-gcc ]; then
wget -O ${TOOLCHAIN_PATH}/${GCC_BASE}.tar.bz2 $GCC_URL
wget --no-check-certificate -O ${TOOLCHAIN_PATH}/${GCC_BASE}.tar.bz2 $GCC_URL
[[ $? -ne 0 ]] && exit 1
tar xfj ${TOOLCHAIN_PATH}/${GCC_BASE}.tar.bz2 -C $TOOLCHAIN_PATH