Merge commit 'b70395731aaba9700985e56b3416a34d18337119' #24
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: GoogleTest | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install SDL2 | |
run: sudo apt-get install libsdl2-dev | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Configure CMake | |
run: cmake -B ${{github.workspace}}/build -DCMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu/cmake | |
- name: Build | |
# Build your program with the given configuration | |
run: cmake --build ${{github.workspace}}/build | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
# Execute tests defined by the CMake configuration. | |
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail | |
run: ctest | |