Skip to content

Commit

Permalink
apt update first
Browse files Browse the repository at this point in the history
  • Loading branch information
nmm0 committed Jun 5, 2024
1 parent d89b88a commit 7d7c766
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
steps:
- name: Install gtest manually
run: |
apt-get install libgtest-dev && cd /usr/src/gtest && cmake CMakeLists.txt && make && cp lib/*.a /usr/lib && ln -s /usr/lib/libgtest.a /usr/local/lib/libgtest.a && ln -s /usr/lib/libgtest_main.a /usr/local/lib/libgtest_main.a
apy update -y
apt install -y cmake
apt install -y libgtest-dev && cd /usr/src/gtest && cmake CMakeLists.txt && make && cp lib/*.a /usr/lib && ln -s /usr/lib/libgtest.a /usr/local/lib/libgtest.a && ln -s /usr/lib/libgtest_main.a /usr/local/lib/libgtest_main.a
apt install libbenchmark1 libbenchmark-dev
- name: Create Build Environment
Expand Down

0 comments on commit 7d7c766

Please sign in to comment.