From 99ea607925953d1d485196fda8180147e9d12e68 Mon Sep 17 00:00:00 2001 From: jparisu <69341543+jparisu@users.noreply.github.com> Date: Fri, 15 Jul 2022 10:37:38 +0200 Subject: [PATCH] Fox GTest version in windows CI (#248) Signed-off-by: jparisu --- .github/actions/install-gtest-windows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/install-gtest-windows/action.yml b/.github/actions/install-gtest-windows/action.yml index a3400a3fb..58dd0658f 100644 --- a/.github/actions/install-gtest-windows/action.yml +++ b/.github/actions/install-gtest-windows/action.yml @@ -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