Skip to content

Commit

Permalink
ci: Enable format warnings for native builds on CI.
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Bogacki <[email protected]>
  • Loading branch information
Saancreed committed Aug 22, 2024
1 parent ed57154 commit 945b32c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig:/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig"
meson setup -Denable_tests=True -Denable_extras=True --buildtype release build-native-gcc-x86
meson setup -Denable_tests=True -Denable_extras=True -Dc_args='-Wformat=2 -Wno-format-truncation' --buildtype release build-native-gcc-x86
ninja -C build-native-gcc-x86
- name: Build Native GCC x64
Expand All @@ -50,7 +50,7 @@ jobs:
command: |
export CC="gcc"
export CXX="g++"
meson setup -Denable_tests=True -Denable_extras=True --buildtype release build-native-gcc-x64
meson setup -Denable_tests=True -Denable_extras=True -Dc_args='-Wformat=2 -Wno-format-truncation' --buildtype release build-native-gcc-x64
ninja -C build-native-gcc-x64
- name: Build Native Clang x86
Expand Down

0 comments on commit 945b32c

Please sign in to comment.