Skip to content

ModifGTest::gmock to GTest::GMock #4

ModifGTest::gmock to GTest::GMock

ModifGTest::gmock to GTest::GMock #4

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up CMake
uses: jwlawson/[email protected]
with:
cmake-version: '3.26.3'
- name: Install dependencies
run: sudo apt-get install -y libgtest-dev
- name: Configure CMake
run: |
rm -rf build
mkdir build
cd build
cmake ..
- name: Build Main Executable and Test Executable
run: |
cd build
make
- name: Run Tests
run: |
cd build
ctest --output-on-failure