Skip to content

Commit c4f81f7

Browse files
authored
Merge pull request #123 from certik/cmake
Do not use pip to install cmake
2 parents dc7e49b + d4ea677 commit c4f81f7

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/CI.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ jobs:
3535
with:
3636
python-version: 3.x
3737

38-
- name: Set up common
39-
run: pip install --upgrade cmake
38+
- name: Install CMake Linux
39+
if: contains(matrix.os, 'ubuntu')
40+
run: ci/install_cmake.sh
4041

4142
- name: Install GFortran Linux
4243
if: contains( matrix.os, 'ubuntu')

ci/install_cmake.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
set -ex
4+
5+
wget -qO- https://github.com/Kitware/CMake/releases/download/v3.16.3/cmake-3.16.3-Linux-x86_64.tar.gz | sudo tar xz --strip=1 -C /usr/local/
6+
which cmake
7+
cmake --version

0 commit comments

Comments
 (0)