2025-01-25 17:45 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* .github/workflows/vm1-ci.yml
    * enablkled freeimage
    * set HB_BUILD_TEST to ${{matrix.strictness}}
    * reenabled full strict build
This commit is contained in:
Przemysław Czerpak
2025-01-25 17:45:07 +01:00
parent 856c70d197
commit 48c3d350a5
2 changed files with 9 additions and 8 deletions

View File

@@ -50,15 +50,13 @@ jobs:
(gcc) echo ${{matrix.compiler}} ;; esac) \
libslang2 \
cairo \
freeimage \
libgd \
mariadb-connector-c \
postgresql16-client \
qt5-buildtools qt5-gui
EOF
# Dependencies for disabled contribs:
# freeimage \
tee ~/work/install_netbsd_deps.sh <<EOF
#!/bin/sh
set -ex
@@ -102,14 +100,11 @@ jobs:
HB_USER_LDFLAGS=""
case ${{matrix.strictness}} in
normal) ;;
strict) case ${{matrix.compiler}} in
(gcc) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror -Wno-error=deprecated-declarations -Wno-error=array-bounds" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
esac ;;
strict) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
esac
tee ./.bashrc <<EOENV
# These contribs do not build on any platform
export HB_BUILD_CONTRIBS="no hbfimage" # incompatible with freeimage 3.18+
export HB_BUILD_TEST="${{matrix.strictness}}"
export HB_BUILD_VERBOSE="yes"
export HBMK_WITH_SQLITE3="local"