mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 07:16:41 +00:00
Changed to install googletest 1.8.0 for centos 7 instead of using 1.6.0 (#1600)
* Changed to install googletest 1.8.0 for centos 7 instead of using 1.6.0 that comes with the centos 7 image to avoid to use okay-release-1-6.el7.noarch.rpm that is causing an error for some reason. * Fixed typo install_gtest tag for centos 7.
This commit is contained in:
parent
d2b699ce04
commit
e44a95c6e0
14
.github/workflows/test_linux.yml
vendored
14
.github/workflows/test_linux.yml
vendored
@ -97,13 +97,23 @@ jobs:
|
|||||||
conf_pkg: |
|
conf_pkg: |
|
||||||
yum -y install epel-release
|
yum -y install epel-release
|
||||||
yum -y update
|
yum -y update
|
||||||
|
yum -y install wget
|
||||||
os_deps: >-
|
os_deps: >-
|
||||||
libX11-devel
|
libX11-devel
|
||||||
libXt-devel
|
libXt-devel
|
||||||
swig3
|
swig3
|
||||||
install_gtest: |
|
install_gtest: |
|
||||||
yum install -y http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-6.el7.noarch.rpm
|
cd /tmp
|
||||||
yum install -y gtest gtest-devel gmock gmock-devel
|
wget https://github.com/google/googletest/archive/release-1.8.0.tar.gz
|
||||||
|
tar xzvf release-1.8.0.tar.gz
|
||||||
|
cd /tmp/googletest-release-1.8.0/googletest
|
||||||
|
cmake .
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
cd /tmp/googletest-release-1.8.0/googlemock
|
||||||
|
cmake .
|
||||||
|
make
|
||||||
|
make install
|
||||||
#-------- RHEL 8-based Only Dependencies ----------------
|
#-------- RHEL 8-based Only Dependencies ----------------
|
||||||
- cfg: { arch: rhel, arch_ver: 8 }
|
- cfg: { arch: rhel, arch_ver: 8 }
|
||||||
pkg_mgr: dnf
|
pkg_mgr: dnf
|
||||||
|
Loading…
Reference in New Issue
Block a user