Skip to content

Commit 8711966

Browse files
authored
[test] skip installing cmake 3.10.3 (openthread#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.
1 parent c2d5265 commit 8711966

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/build.yml

-8
Original file line numberDiff line numberDiff line change
@@ -262,14 +262,6 @@ jobs:
262262
sudo apt-get --no-install-recommends install -y build-essential lib32z1 ninja-build gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
263263
wget --tries 4 --no-check-certificate --quiet ${{ matrix.gcc_download_url }} -O gcc-arm
264264
tar xf gcc-arm
265-
sudo apt-get remove cmake
266-
sudo apt-get purge --auto-remove cmake
267-
wget http://www.cmake.org/files/v3.10/cmake-3.10.3.tar.gz
268-
tar xf cmake-3.10.3.tar.gz
269-
cd cmake-3.10.3
270-
./configure
271-
sudo make install
272-
cmake --version | grep 3.10.3
273265
- name: Build
274266
env:
275267
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)