Skip to content

Setuptm fix

Setuptm fix #308

Workflow file for this run

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