Add short_grass #236
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Routine Exam | |
on: [push, pull_request] | |
jobs: | |
unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
run: sudo apt-get install -y libgtest-dev libfmt-dev libspdlog-dev | |
&& cd /usr/src/gtest | |
&& CXX=g++-10 sudo cmake CMakeLists.txt | |
&& sudo make -j | |
&& 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 | |
- uses: actions/checkout@v2 | |
- name: Configure project | |
run: mkdir build | |
&& cd build | |
&& CXX=g++-10 cmake .. | |
- name: Build project | |
run: cd build | |
&& make -j run_tests | |
- name: Run tests | |
run: ./build/bin/run_tests |