Skip to content

Commit

Permalink
Install gtest 1.8.0 from source (see #575)
Browse files Browse the repository at this point in the history
  • Loading branch information
clanmills committed May 20, 2020
1 parent 51801bd commit 89ae619
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ci/install_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,15 @@ case "$distro_id" in

'opensuse'|'opensuse-tumbleweed')
zypper --non-interactive refresh
zypper --non-interactive install gcc-c++ clang cmake make ccache libexpat-devel zlib-devel libssh-devel libcurl-devel gtest=1.8.0-lp151.2.3 which dos2unix libxml2-tools
zypper --non-interactive install gcc-c++ clang cmake make ccache libexpat-devel zlib-devel libssh-devel libcurl-devel git which dos2unix libxml2-tools
curl -LO https://github.com/google/googletest/archive/release-1.8.0.tar.gz
pushd /tmp
tar xzf release-1.8.0.tar.gz
mkdir -p googletest-release-1.8.0/build
pushd googletest-release-1.8.0/build
cmake .. ; make ; make install
popd
popd
;;
*)
echo "Sorry, no predefined dependencies for your distribution $distro_id exist yet"
Expand Down

0 comments on commit 89ae619

Please sign in to comment.