diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd36af6..8fa439f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v2 - name: Install dependencies - run: sudo apt-get install libfftw3-dev libsfml-dev + run: sudo apt-get install libfftw3-dev libsfml-dev libgtest-dev - name: Create Build Environment # Some projects don't allow in-source building, so create a separate build directory @@ -33,7 +33,7 @@ jobs: # Note the current convention is to use the -S and -B options here to specify source # and build directories, but this is only available with CMake 3.13 and higher. # The CMake binaries on the Github Actions machines are (as of this writing) 3.12 - run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE + run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DTESTING=ON - name: Build working-directory: ${{runner.workspace}}/build @@ -41,7 +41,7 @@ jobs: # Execute the build. You can specify a specific target with "--target <NAME>" run: cmake --build . --config $BUILD_TYPE - - name: Test + - name: Unit tests working-directory: ${{runner.workspace}}/build shell: bash # Execute tests defined by the CMake configuration. |
