Skip to content

Commit

Permalink
Restore -Werror to CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
thetic committed Aug 22, 2022
1 parent 5ad669e commit 4c14392
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/basic.yml
Expand Up @@ -103,9 +103,14 @@ jobs:
- if: ${{ matrix.cc }}
run: echo "CC=${{ matrix.cc }}" >> $GITHUB_ENV
- name: Configure
run: cmake -B build -S . -DCMAKE_CXX_STANDARD=${{ matrix.cpp_version }}
run: >
cmake
-B build
-S .
-D CMAKE_CXX_STANDARD=${{ matrix.cpp_version }}
-D WERROR=ON
if: ${{ matrix.cpp_version }}
- name: Build
run: cmake --build build
run: cmake --build build --verbose
- name: Test
run: ctest --test-dir build

0 comments on commit 4c14392

Please sign in to comment.