[test] skip installing cmake 3.10.3 (#11040)

There is a standalone CMake version check, no need to use this version
in gcc specific build tests. This change should accelerate gcc build
check, as it takes 8.5 minutes to build cmake.
This commit is contained in:
Yakun Xu
2024-12-13 07:29:56 +08:00
committed by GitHub
parent c2d5265c68
commit 871196689d
-8
View File
@@ -262,14 +262,6 @@ jobs:
sudo apt-get --no-install-recommends install -y build-essential lib32z1 ninja-build gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
wget --tries 4 --no-check-certificate --quiet ${{ matrix.gcc_download_url }} -O gcc-arm
tar xf gcc-arm
sudo apt-get remove cmake
sudo apt-get purge --auto-remove cmake
wget http://www.cmake.org/files/v3.10/cmake-3.10.3.tar.gz
tar xf cmake-3.10.3.tar.gz
cd cmake-3.10.3
./configure
sudo make install
cmake --version | grep 3.10.3
- name: Build
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"