From 871196689df7a11544015ca4d5aa1289b4fd5bc8 Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Fri, 13 Dec 2024 07:29:56 +0800 Subject: [PATCH] [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. --- .github/workflows/build.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a7310a05..afbe8dc0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}"