From ea33ab2e888c32f223388cc2a4270c12773a6f94 Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Sat, 8 Jun 2024 15:19:09 +0200 Subject: [PATCH] ci(deps): update to gtest 1.14 --- .github/workflows/linux.yml | 8 ++++---- .github/workflows/windows.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 0802de7a1..91c72c9bd 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -44,18 +44,18 @@ jobs: uses: actions/cache@v4 with: path: gtest/ - key: ${{runner.os}}-gtest-1.11 + key: ${{runner.os}}-gtest-1.14 - name: Download GTest if: steps.cache-gtest.outputs.cache-hit != 'true' run: | - wget https://github.com/google/googletest/archive/refs/tags/release-1.11.0.tar.gz - tar xvf release-1.11.0.tar.gz + wget https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz + tar xvf v1.14.0.tar.gz - name: Build GTest if: steps.cache-gtest.outputs.cache-hit != 'true' run: | - cmake -S googletest-release-1.11.0 -B build-googletest \ + cmake -S googletest-1.14.0 -B build-googletest \ -DBUILD_SHARED_LIBS=${{matrix.shared}} \ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/gtest \ diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 71f056c8e..87aebc176 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -45,18 +45,18 @@ jobs: uses: actions/cache@v4 with: path: gtest/ - key: ${{runner.os}}-gtest-1.11-${{matrix.lib}}-${{matrix.arch}}-${{matrix.build_type}} + key: ${{runner.os}}-gtest-1.14-${{matrix.lib}}-${{matrix.arch}}-${{matrix.build_type}} - name: Download GTest if: steps.cache-gtest.outputs.cache-hit != 'true' run: | - (New-Object System.Net.WebClient).DownloadFile("https://github.com/google/googletest/archive/refs/tags/release-1.11.0.zip", "release-1.11.0.zip") - Expand-Archive release-1.11.0.zip . + (New-Object System.Net.WebClient).DownloadFile("https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip", "v1.14.0.zip") + Expand-Archive v1.14.0.zip . - name: Build GTest if: steps.cache-gtest.outputs.cache-hit != 'true' run: | - cmake -S googletest-release-1.11.0 -B build-googletest ` + cmake -S googletest-1.14.0 -B build-googletest ` -A ${{matrix.arch}} ` -DBUILD_SHARED_LIBS=${{matrix.lib == 'shared'}} ` -Dgtest_force_shared_crt=ON `