File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,22 @@ jobs:
26
26
name : Checkout
27
27
uses : actions/checkout@v1
28
28
-
29
- name : Install CMake 2.8.6
29
+ name : Install CMake 3.6.2
30
30
run : |
31
31
set -e
32
32
. /etc/profile
33
- cd /usr/bin
34
- wget https://raw.githubusercontent.com/minos-org/minos-static/master/static-get
35
- chmod +x static-get
36
- cd /tmp
37
- static-get cmake
38
- cd /
39
- tar -xf /tmp/cmake-*.tar.gz
33
+ apt-get update
34
+ apt-get install -y libidn11
35
+ pkgvers=3.6.2
36
+ pkgname=cmake
37
+ pkgcode=cmake-${pkgvers}
38
+ case "${{matrix.arch}}" in
39
+ amd64) pkgfile=${pkgcode}-Linux-x86_64.tar.gz;;
40
+ *) pkgfile=${pkgcode}-Linux-i386.tar.gz;;
41
+ esac
42
+ wget https://github.com/Kitware/CMake/releases/download/v${pkgvers}/${pkgfile} -P /tmp
43
+ tar -xf /tmp/${pkgfile} --strip-components=1 -C /usr
44
+ rm -rf /tmp/${pkgfile}
40
45
cmake --version
41
46
-
42
47
name : Install GCC toolchain
You can’t perform that action at this time.
0 commit comments