Skip to content

Commit 7ed2a38

Browse files
committed
Remove curl commands for downloading cmake
1 parent d39ba5d commit 7ed2a38

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@ jobs:
1717
submodules: recursive
1818
- name: Configure CMake build
1919
run: |
20-
sudo apt-get install -y libmosquitto-dev
21-
curl https://cmake.org/files/v3.2/cmake-3.2.0-Linux-x86_64.tar.gz -o cmake.tar.gz
22-
tar -xf cmake.tar.gz
20+
sudo apt-get install -y libmosquitto-dev cmake
2321
mkdir build && cd build
24-
../cmake-3.2.0-Linux-x86_64/bin/cmake .. \
22+
cmake .. \
2523
-G "Unix Makefiles" \
2624
-DBUILD_DEMOS=1 \
2725
-DCMAKE_BUILD_TYPE=Release \
@@ -63,11 +61,9 @@ jobs:
6361
done
6462
- name: Configure CMake build
6563
run: |
66-
sudo apt-get install -y libmosquitto-dev
67-
curl https://cmake.org/files/v3.2/cmake-3.2.0-Linux-x86_64.tar.gz -o cmake.tar.gz
68-
tar -xf cmake.tar.gz
64+
sudo apt-get install -y libmosquitto-dev cmake
6965
mkdir build && cd build
70-
../cmake-3.2.0-Linux-x86_64/bin/cmake .. \
66+
cmake .. \
7167
-G "Unix Makefiles" \
7268
-DBUILD_DEMOS=1 \
7369
-DCMAKE_BUILD_TYPE=Release \
@@ -99,10 +95,9 @@ jobs:
9995
submodules: recursive
10096
- name: Configure CMake for installation of shared libraries at custom location
10197
run: |
102-
curl https://cmake.org/files/v3.2/cmake-3.2.0-Linux-x86_64.tar.gz -o cmake.tar.gz
103-
tar -xf cmake.tar.gz
98+
sudo apt-get install -y cmake
10499
mkdir build && cd build
105-
../cmake-3.2.0-Linux-x86_64/bin/cmake .. \
100+
cmake .. \
106101
-DBUILD_DEMOS=0 \
107102
-DCSDK_HEADER_INSTALL_PATH="$PWD/../shared-libs-headers-install-dir" -DCSDK_LIB_INSTALL_PATH="$PWD/../shared-libs-install-dir"
108103
- name: Install shared libraries and verify custom install location

0 commit comments

Comments
 (0)