Skip to content

Commit e9733c1

Browse files
committed
Testing a cmake version that works locally
1 parent 53b8186 commit e9733c1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/linux.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
gcc --version
3535
g++ --version
3636
37-
- name: Install CMake 4 and wget
37+
- name: Install CMake 3.31.6 and wget
3838
run: |
3939
yum install -y wget
40-
wget https://github.com/Kitware/CMake/releases/download/v4.0.1/cmake-4.0.1-linux-x86_64.sh
41-
chmod +x cmake-4.0.1-linux-x86_64.sh
42-
./cmake-4.0.1-linux-x86_64.sh --prefix=/usr/local --skip-license
40+
wget https://github.com/Kitware/CMake/releases/download/v3.31.6/cmake-3.31.6-linux-x86_64.sh
41+
chmod +x cmake-3.31.6-linux-x86_64.sh
42+
./cmake-3.31.6-linux-x86_64.sh --prefix=/usr/local --skip-license
4343
ln -s /usr/local/bin/cmake /usr/bin/cmake
4444
cmake --version
4545
@@ -57,7 +57,6 @@ jobs:
5757
-DBUILD_TESTING=OFF \
5858
-DBUILD_EXAMPLES=OFF \
5959
-DCMAKE_BUILD_TYPE=Release \
60-
-DCMAKE_POLICY_VERSION_MINIMUM=3.2 \
6160
-DCMAKE_INSTALL_PREFIX=../ITK-install \
6261
../ITK
6362
make install

0 commit comments

Comments
 (0)