Skip to content

Commit

Permalink
fix Google Benchmark version to v1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 29, 2019
1 parent 7d952dd commit 23a0c5a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
uses: actions/cache@v1
with:
path: examples/cpp/benchmark
key: ${{ runner.os }}-googlebenchmark-${{ hashFiles('examples/cpp/bench.cpp') }}
key: ${{ runner.os }}-googlebenchmark-v1.5.0
- name: Run benchmark
run: |
cd examples/cpp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/cache@v1
with:
path: examples/cpp/benchmark
key: ${{ runner.os }}-googlebenchmark-${{ hashFiles('examples/cpp/bench.cpp') }}
key: ${{ runner.os }}-googlebenchmark-v1.5.0
- name: Run benchmark
run: cd examples/cpp && make json
- name: Store benchmark result
Expand Down
4 changes: 2 additions & 2 deletions examples/cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ benchmark/build: benchmark
mkdir -p benchmark/build

benchmark:
[ -d benchmark ] || git clone --depth=1 --single-branch https://github.com/google/benchmark.git benchmark
[ -d benchmark ] || git clone --depth=1 --single-branch --branch v1.5.0 https://github.com/google/benchmark.git benchmark

benchmark/googletest: benchmark
[ -d benchmark/googletest ] || git clone --depth=1 --single-branch https://github.com/google/googletest.git benchmark/googletest
[ -d benchmark/googletest ] || git clone --depth=1 --single-branch --branch release-1.10.0 https://github.com/google/googletest.git benchmark/googletest

clean:
rm -rf a.out benchmark
Expand Down

0 comments on commit 23a0c5a

Please sign in to comment.