Skip to content

Commit 04dd378

Browse files
committed
update googletest to v1.12
1 parent 824c633 commit 04dd378

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ jobs:
55
docker:
66
- image: cimg/python:3.10
77
environment:
8-
GTEST_ROOT: googletest-release-1.11.0/googletest
8+
GTEST_ROOT: googletest-release-1.12.1/googletest
99
steps:
1010
- checkout
1111
- run: sudo apt-get install cmake
1212
- run: "curl -fsSL https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | sudo tar -zxvf- -C /usr/local/bin"
1313
- run: "testspace config url samples.testspace.com"
14-
- run: "sudo pip install gcovr"
15-
- run: "curl -fsSL https://github.com/google/googletest/archive/refs/tags/release-1.11.0.tar.gz | tar -zxvf-"
14+
- run: "pip install gcovr"
15+
- run: "curl -fsSL https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz | tar -zxvf-"
1616
- run: |
1717
mkdir -p $GTEST_ROOT/build
1818
pushd $GTEST_ROOT/build
19-
cmake -DGOOGLETEST_VERSION=1.11.0 -Dgtest_build_samples=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG='-g -fprofile-arcs -ftest-coverage' ../
19+
cmake -DGOOGLETEST_VERSION=1.12.1 -Dgtest_build_samples=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG='-g -fprofile-arcs -ftest-coverage' ../
2020
make clean gtest
2121
popd
2222
- run: make -C $GTEST_ROOT/build |& tee build.log ; test ${PIPESTATUS[0]} -eq 0

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ on:
66

77
jobs:
88
build:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
env:
11-
GTEST_ROOT: googletest-release-1.11.0/googletest
11+
GTEST_ROOT: googletest-release-1.12.1/googletest
1212
steps:
13-
- uses: actions/setup-python@v3
13+
- uses: actions/setup-python@v4
1414
with:
1515
python-version: 3.x
1616
- name: Setup build tools
@@ -23,10 +23,10 @@ jobs:
2323
domain: samples
2424
- name: Install GTest
2525
run: |
26-
curl -fsSL https://github.com/google/googletest/archive/refs/tags/release-1.11.0.tar.gz | tar -zxvf-
26+
curl -fsSL https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz | tar -zxvf-
2727
mkdir -p $GTEST_ROOT/build
2828
pushd $GTEST_ROOT/build
29-
cmake -DGOOGLETEST_VERSION=1.11.0 -Dgtest_build_samples=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG='-g -fprofile-arcs -ftest-coverage' ../
29+
cmake -DGOOGLETEST_VERSION=1.12.1 -Dgtest_build_samples=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG='-g -fprofile-arcs -ftest-coverage' ../
3030
make clean gtest
3131
popd
3232
- name: Build

0 commit comments

Comments
 (0)