Skip to content

Commit 60176ea

Browse files
authored
Update fdp_cpp_api.yaml
1 parent ad34461 commit 60176ea

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/fdp_cpp_api.yaml

+10-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Build Ubuntu
88
runs-on: ubuntu-latest
99
strategy:
10-
fail-fast: true
10+
fail-fast: false
1111
steps:
1212
- uses: actions/checkout@v2
1313
- uses: actions/setup-python@v2
@@ -146,19 +146,22 @@ jobs:
146146
- name: Setup GCC 4.8
147147
run: |
148148
apt update
149-
apt install build-essential -y
149+
apt install build-essential libssl-dev -y
150150
apt install g++-4.8 gcc-4.8 -y
151151
rm /usr/bin/gcc
152152
rm /usr/bin/g++
153153
ln -s /usr/bin/gcc-4.8 /usr/bin/gcc
154154
ln -s /usr/bin/g++-4.8 /usr/bin/g++
155155
gcc --version
156156
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
162165
cmake --version
163166
- uses: actions/checkout@v3
164167
- name: Install Dependencies

0 commit comments

Comments
 (0)