Skip to content

Commit

Permalink
clone
Browse files Browse the repository at this point in the history
  • Loading branch information
nawaz1991 committed Nov 13, 2023
1 parent d038fb1 commit 486b557
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,25 @@ jobs:
sudo apt-get update
sudo apt-get install -y gcc g++ cmake lcov gcovr
sudo apt-get install -y libgtest-dev
sudo apt install -y libbenchmark-dev=1.8.3
cd /usr/src/gtest
sudo cmake CMakeLists.txt
sudo make
sudo cp ./lib/libgtest*.a /usr/lib
- name: Clone libbenchmark
run: git clone https://github.com/google/benchmark.git

- name: Build libbenchmark
run: |
cd benchmark
cmake -E make_directory "build"
cmake -E chdir "build" cmake -DBENCHMARK_DOWNLOAD_DEPENDENCIES=on -DCMAKE_BUILD_TYPE=Release ../
cmake --build "build" --config Release
- name: Install libbenchmark
run: sudo cmake --build "build" --target install --config Release
working-directory: ./benchmark

- name: Configure CMake
run: cmake -S . -B build -DBUILD_PERF=ON

Expand Down

0 comments on commit 486b557

Please sign in to comment.