mirror of
https://github.com/espressif/openthread.git
synced 2026-10-02 05:47:40 +00:00
[github-actions] use --no-check-certificates when invoking wget (#7011)
This commit is contained in:
@@ -151,7 +151,7 @@ jobs:
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
|
sudo rm /etc/apt/sources.list.d/* && sudo apt-get update
|
||||||
sudo apt-get --no-install-recommends install -y lib32z1 ninja-build gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
|
sudo apt-get --no-install-recommends install -y lib32z1 ninja-build gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
|
||||||
wget ${{ matrix.gcc_download_url }} -O gcc-arm.tar.bz2
|
wget --tries 4 --no-check-certificate --quiet ${{ matrix.gcc_download_url }} -O gcc-arm.tar.bz2
|
||||||
tar xjf gcc-arm.tar.bz2
|
tar xjf gcc-arm.tar.bz2
|
||||||
# use the minimal required cmake version
|
# use the minimal required cmake version
|
||||||
sudo pip3 install --system -U cmake==3.10.3
|
sudo pip3 install --system -U cmake==3.10.3
|
||||||
|
|||||||
+1
-1
@@ -68,7 +68,7 @@ install_packages_apt()
|
|||||||
elif [ "$PLATFORM" = "Ubuntu" ]; then
|
elif [ "$PLATFORM" = "Ubuntu" ]; then
|
||||||
sudo apt-get --no-install-recommends install -y ca-certificates wget
|
sudo apt-get --no-install-recommends install -y ca-certificates wget
|
||||||
(cd /tmp \
|
(cd /tmp \
|
||||||
&& wget -c https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-"$ARCH"-linux.tar.bz2 \
|
&& wget --tries 4 --no-check-certificate --quiet -c https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2020q2/gcc-arm-none-eabi-9-2020-q2-update-"$ARCH"-linux.tar.bz2 \
|
||||||
&& sudo tar xjf gcc-arm-none-eabi-9-2020-q2-update-"$ARCH"-linux.tar.bz2 -C /opt \
|
&& sudo tar xjf gcc-arm-none-eabi-9-2020-q2-update-"$ARCH"-linux.tar.bz2 -C /opt \
|
||||||
&& rm gcc-arm-none-eabi-9-2020-q2-update-"$ARCH"-linux.tar.bz2 \
|
&& rm gcc-arm-none-eabi-9-2020-q2-update-"$ARCH"-linux.tar.bz2 \
|
||||||
&& sudo ln -s -f /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/* /usr/local/bin/.)
|
&& sudo ln -s -f /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/* /usr/local/bin/.)
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@ setup_arm_gcc_7()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
(cd /tmp/ \
|
(cd /tmp/ \
|
||||||
&& wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2 \
|
&& wget --tries 4 --no-check-certificate --quiet https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2 \
|
||||||
&& tar xjf gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2)
|
&& tar xjf gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2)
|
||||||
export PATH=/tmp/gcc-arm-none-eabi-7-2018-q2-update/bin:$PATH
|
export PATH=/tmp/gcc-arm-none-eabi-7-2018-q2-update/bin:$PATH
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user