Merge remote-tracking branch 'origin/docs' into docs #129
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: GTest CI | |
on: [push, pull_request] | |
env: | |
TESTS_DIR: Google_tests | |
TESTS_EXEC: Google_Tests_run | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: CMake Generate | |
run: cmake -B ${{github.workspace}}/build -S . | |
- name: CMake Build | |
run: cmake --build ${{github.workspace}}/build | |
- name: Run tests | |
working-directory: ${{github.workspace}}/build/${{env.TESTS_DIR}} | |
run: ./${{env.TESTS_EXEC}} | |