File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 7
7
name : Build Ubuntu
8
8
runs-on : ubuntu-latest
9
9
strategy :
10
- fail-fast : true
10
+ fail-fast : false
11
11
steps :
12
12
- uses : actions/checkout@v2
13
13
- uses : actions/setup-python@v2
@@ -146,19 +146,22 @@ jobs:
146
146
- name : Setup GCC 4.8
147
147
run : |
148
148
apt update
149
- apt install build-essential -y
149
+ apt install build-essential libssl-dev -y
150
150
apt install g++-4.8 gcc-4.8 -y
151
151
rm /usr/bin/gcc
152
152
rm /usr/bin/g++
153
153
ln -s /usr/bin/gcc-4.8 /usr/bin/gcc
154
154
ln -s /usr/bin/g++-4.8 /usr/bin/g++
155
155
gcc --version
156
156
g++ --version
157
- apt-get install ca-certificates gpg -y
158
- wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null
159
- echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ bionic main' | tee /etc/apt/sources.list.d/kitware.list >/dev/null
160
- apt-get update
161
- apt install cmake -y
157
+ wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0.tar.gz
158
+ tar -zvxf cmake-3.20.0.tar.gz
159
+ cd cmake-3.20.0
160
+ ./bootstrap
161
+ make -j8
162
+ apt-get install checkinstall -y
163
+ hash -r
164
+ checkinstall --pkgname=cmake --pkgversion="3.20-custom" --default
162
165
cmake --version
163
166
- uses : actions/checkout@v3
164
167
- name : Install Dependencies
You can’t perform that action at this time.
0 commit comments