Skip to content

Commit e0f1cf6

Browse files
committed
Build gbenchmark from source to get newer version
1 parent 53d9f10 commit e0f1cf6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,11 @@ jobs:
290290
if: ${{ contains(matrix.os, 'ubuntu') }}
291291
run: |
292292
sudo apt update
293-
sudo apt install openmpi-bin libopenmpi-dev ccache graphviz libeigen3-dev libtiff-dev libcfitsio-dev libboost-all-dev libyaml-cpp-dev libbenchmark-dev
293+
sudo apt install openmpi-bin libopenmpi-dev ccache graphviz libeigen3-dev libtiff-dev libcfitsio-dev libboost-all-dev libyaml-cpp-dev
294+
wget https://github.com/google/benchmark/archive/refs/tags/v1.8.5.tar.gz -O- | tar --no-same-owner -xz;
295+
cd benchmark-1.8.5
296+
cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local -S . -B "build"
297+
cmake --build "build" --config Release --target install
294298
295299
- name: Install Dependencies on MacOS
296300
if: ${{ contains(matrix.os, 'macos') }}

0 commit comments

Comments
 (0)