fix ci job #26
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: Unit Tests | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install compiler | |
id: install_cc | |
uses: rlalik/setup-cpp-compiler@master | |
with: | |
compiler: latest | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgtest-dev | |
sudo apt-get install -y cmake | |
# Install Google Test | |
sudo apt-get install -y libgtest-dev | |
# - name: Build and run tests | |
# run: | | |
# mkdir build | |
# cd build | |
# cmake .. | |
# make | |
# ./tests/test_main |