Skip to content

Commit

Permalink
remove sudo commands from container
Browse files Browse the repository at this point in the history
  • Loading branch information
nmm0 committed Jun 3, 2024
1 parent b0f11bb commit d89b88a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
steps:
- name: Install gtest manually
run: |
sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake CMakeLists.txt && sudo make && sudo cp lib/*.a /usr/lib && sudo ln -s /usr/lib/libgtest.a /usr/local/lib/libgtest.a && sudo ln -s /usr/lib/libgtest_main.a /usr/local/lib/libgtest_main.a
sudo apt install libbenchmark1 libbenchmark-dev
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
apt install libbenchmark1 libbenchmark-dev
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/mdspan-build
Expand Down

0 comments on commit d89b88a

Please sign in to comment.