Setuptm fix #308
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: Unit Test | |
on: | |
pull_request: | |
type: [opened, synchronize] | |
jobs: | |
unit_test: | |
runs-on: ubuntu-latest | |
env: | |
URL: https://github.com/google/googletest.git | |
TAG: v1.13.0 | |
steps: | |
- name: Install CMake, make, and git | |
run: sudo apt-get -y install cmake make git | |
- name: Install GoogleTest | |
working-directory: /home/runner/work | |
run: | | |
git clone $URL -b $TAG | |
mkdir googletest/build && cd googletest/build | |
cmake -G "Unix Makefiles" .. | |
cmake --build . && sudo cmake --install . | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Build tests | |
run: bash ./Tools/tools.bash compile -t Testing -c | |
- name: Run tests | |
run: bash ./Tools/tools.bash run |