steps:
- uses: actions/checkout@v2
+ - name: Checkout submodules
+ run: git submodule update --init --recursive
- name: install-clang-tidy
run: sudo apt-get install -y clang-tidy
- name: install-boost
- run: sudo apt-get install -y libboost-all-dev
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y libboost-all-dev
- name: fetch-gtest
run: sudo apt-get install -y libgtest-dev
- name: install-gtest
run: cd /usr/src/gtest && sudo cmake . && sudo make && sudo cp lib/*.a /usr/lib || sudo cp *.a /usr/lib
+ - name: install-gperftools
+ run: sudo apt-get install -y libgoogle-perftools-dev
+
- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands