Skip to content

Commit

Permalink
Fox GTest version in windows CI (#248)
Browse files Browse the repository at this point in the history
Signed-off-by: jparisu <javierparis@eprosima.com>
  • Loading branch information
jparisu authored Jul 15, 2022
1 parent d1b6cbd commit 99ea607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/install-gtest-windows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
cmake --find-package -DNAME=GTest -DCOMPILER_ID=GNU -DLANGUAGE=CXX -DMODE=EXIST | Tee-Object -Variable res;
if ( $res -notlike '*GTest found.*')
{
git clone https://github.com/google/googletest.git;
git clone --branch release-1.12.1 https://github.com/google/googletest.git;
cmake -DCMAKE_INSTALL_PREFIX='C:\Program Files\gtest' -Dgtest_force_shared_crt=ON -DBUILD_GMOCK=ON `
-B build\gtest -A x64 -T host=x64 googletest;
cmake --build build\gtest --config ${{ inputs.cmake_build_type }} --target install
Expand Down

0 comments on commit 99ea607

Please sign in to comment.