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:
2626 name : Checkout
2727 uses : actions/checkout@v1
2828 -
29- name : Install CMake 2.8.6
29+ name : Install CMake 3.6.2
3030 run : |
3131 set -e
3232 . /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}
4045 cmake --version
4146 -
4247 name : Install GCC toolchain
You can’t perform that action at this time.
0 commit comments