mirror of
https://github.com/nasa/trick.git
synced 2025-03-15 16:45:26 +00:00
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.
This commit is contained in:
parent
d2b699ce04
commit
b5155a6ed8
16
.github/workflows/test_linux.yml
vendored
16
.github/workflows/test_linux.yml
vendored
@ -101,9 +101,19 @@ jobs:
|
||||
libX11-devel
|
||||
libXt-devel
|
||||
swig3
|
||||
install_gtest: |
|
||||
yum install -y http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-6.el7.noarch.rpm
|
||||
yum install -y gtest gtest-devel gmock gmock-devel
|
||||
install_gest: |
|
||||
yum install wget
|
||||
cd /tmp
|
||||
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 ----------------
|
||||
- cfg: { arch: rhel, arch_ver: 8 }
|
||||
pkg_mgr: dnf
|
||||
|
Loading…
x
Reference in New Issue
Block a user