Skip to content

Commit 75dff70

Browse files
committed
CI: Enable '-Wshorten-64-to-32' in {Free,Open}BSD build jobs
1 parent 7ededd5 commit 75dff70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ jobs:
255255
git config --global --add safe.directory /home/runner/work/htop/htop
256256
run: |
257257
set -e
258+
export CFLAGS='-g -O2 -Wshorten-64-to-32'
258259
./autogen.sh
259260
./configure --enable-unicode --enable-werror
260261
gmake -k
@@ -301,6 +302,7 @@ jobs:
301302
git config --global --add safe.directory /home/runner/work/htop/htop
302303
run: |
303304
set -e
305+
export CFLAGS='-g -O2 -Wshorten-64-to-32'
304306
autoconf_version_full=$(pkg_info -Q autoconf |
305307
LC_ALL=C sed 's/^autoconf-\([0-9]*\.[0-9]*\)\(p[.0-9]*\)\{0,1\}$/\1\2/p; d' |
306308
LC_ALL=C sort -n -r -t . -k 1,1 -k 2,2 |

0 commit comments

Comments
 (0)