Skip to content

Commit

Permalink
[CI/CD] Add dependencies for installing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigma711 committed Aug 16, 2023
1 parent 862a65f commit f358210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: init
run: mkdir build
- name: Install Protobuf
run: sudo apt-get install protobuf-compiler libprotobuf-dev pkg-config
run: sudo apt-get install libtool pkg-config && sudo apt-get install protobuf-compiler libprotobuf-dev
- 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
- name: Install llhttp manually
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v2

- name: Install Protobuf
run: sudo apt-get install protobuf-compiler libprotobuf-dev pkg-config
run: sudo apt-get install libtool pkg-config && sudo apt-get install protobuf-compiler libprotobuf-dev

- 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
Expand Down

0 comments on commit f358210

Please sign in to comment.