2025-01-21 09:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* .github/workflows/linux-ci.yml
    * disabled global -Wno-error=... C compiler parameters
    * set HB_BUILD_TEST="${{matrix.strictness}}" envvar

  * .github/workflows/macos-ci.yml
  * .github/workflows/vm2-ci.yml
    * disabled global -Wno-error=... C compiler parameters
    * set HB_BUILD_TEST="${{matrix.strictness}}" envvar
    * reenabled hbfimage contrib library

  * .github/workflows/windows-ci.yml
    * reenabled hbfimage contrib library
This commit is contained in:
Przemysław Czerpak
2025-01-21 09:08:47 +01:00
parent 223bfa649e
commit a72a8a5494
5 changed files with 26 additions and 21 deletions

View File

@@ -72,12 +72,13 @@ jobs:
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 -Wno-error=deprecated-declarations" ;;
(gcc) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
esac ;;
esac
tee ./.bashrc <<EOENV
export HB_BUILD_TEST="${{matrix.strictness}}"
export HB_BUILD_VERBOSE="yes"
export HBMK_WITH_SQLITE3="local"
export HB_USER_CFLAGS="$HB_USER_CFLAGS"

View File

@@ -31,14 +31,12 @@ jobs:
(gcc) echo ${{matrix.compiler}} ;; esac) \
slang \
cairo \
freeimage \
libgd \
mysql \
postgresql \
qt5
# Dependencies for disabled contribs:
# freeimage \
- name: Checkout code
uses: actions/checkout@v3
with:
@@ -61,14 +59,13 @@ jobs:
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 -Wno-error=deprecated-declarations" ;;
(gcc) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
esac ;;
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"
export HB_USER_CFLAGS="$HB_USER_CFLAGS"

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_omnios_deps.sh <<EOF
#!/usr/xpg4/bin/sh
set -ex
@@ -110,14 +108,13 @@ jobs:
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" ;;
(gcc) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
esac ;;
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"
export HB_USER_CFLAGS="$HB_USER_CFLAGS"

View File

@@ -59,14 +59,12 @@ jobs:
mingw-w64-${{ env.msys_cpu }}-bzip2
mingw-w64-${{ env.msys_cpu }}-cairo
mingw-w64-${{ env.msys_cpu }}-curl
mingw-w64-${{ env.msys_cpu }}-freeimage
mingw-w64-${{ env.msys_cpu }}-libgd
mingw-w64-${{ env.msys_cpu }}-ghostscript
mingw-w64-${{ env.msys_cpu }}-openssl
mingw-w64-${{ env.msys_cpu }}-qt5-base
# Dependencies for disabled contribs:
# mingw-w64-${{ env.msys_cpu }}-freeimage
- name: 'Add packages available on 64-bit hosts only'
if: matrix.cpu != 'x86'
shell: msys2 {0}
@@ -119,8 +117,6 @@ jobs:
esac ;;
esac
tee -a ./.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"