Skip to content

Commit

Permalink
GH Actions: Turn on verbose build mode and fail on compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmai committed Nov 8, 2023
1 parent fc422be commit 1462cfc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ jobs:
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-Dbuild_tests=ON
-Denable_werror=ON
-Werror=dev
-S ${{ github.workspace }}
- name: Build
# Build the code with the given configuration.
run: >
cmake --build ${{ steps.strings.outputs.build-output-dir }}
--config ${{ matrix.build_type }}
--config ${{ matrix.build_type }} --verbose
- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
Expand Down

0 comments on commit 1462cfc

Please sign in to comment.