Skip to content

Commit

Permalink
Add some standard warnings to error during compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor authored Dec 22, 2024
1 parent 291b22c commit 7f9a5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/reusable-industrial-ci-with-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
ADDITIONAL_DEBS: ${{ inputs.additional_debs }}
CC: ${{ inputs.c_compiler }}
CXX: ${{ inputs.cxx_compiler }}
CMAKE_ARGS: -DCMAKE_CXX_FLAGS="-isystem /opt/ros/${{ inputs.ros_distro }}/include"
CMAKE_ARGS: -DCMAKE_CXX_FLAGS="-isystem /opt/ros/${{ inputs.ros_distro }}/include -Werror=conversion -Werror=unused-but-set-variable -Werror=return-type -Werror=shadow -Werror=missing-braces -Werror=sign-compare -Werror=overflow -Werror=unused-variable -Werror=unused-const-variable"
id: ici
- name: Download issue template for target failure # Has to be a local file
if: ${{ always() && steps.ici.outcome == 'failure' && github.event_name == 'schedule' }}
Expand Down

0 comments on commit 7f9a5d4

Please sign in to comment.