-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace INSTANTIATE_TEST_CASE_P by INSTANTIATE_TEST_SUITE_P (#752)
INSTANTIATE_TEST_CASE_P is deprecated in newer version of GTest and should be replaced by INSTANTIATE_TEST_SUITE_P Unfortunately on CentOS7, default GTest is too old for INSTANTIATE_TEST_SUITE_P. We need to build it from sources
- Loading branch information
1 parent
cc74b45
commit 1f75ce3
Showing
4 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: "Download and build gtest" | ||
description: "build gtest for centos7" | ||
runs: | ||
using: "composite" | ||
steps: | ||
- id: build-gtest | ||
shell: bash | ||
run: | | ||
source /opt/rh/devtoolset-10/enable | ||
git clone -b v1.14.0 https://github.com/google/googletest.git | ||
cd googletest | ||
cmake3 -G"Unix Makefiles" | ||
make -j8 | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters