2023-11-12 14:38 UTC+0100 Phil Krylov (phil a t krylov.eu)

* .github/workflows/linux-ci.yml
  * .github/workflows/macos-ci.yml
  * .github/workflows/vm1-ci.yml
  * .github/workflows/windows-ci.yml
    * Made strict CI build not that strict by adding
      -Wno-error=deprecated-declarations.
    ! Fixed ccache configuration under msys2.
This commit is contained in:
Phil Krylov
2023-11-12 14:39:29 +01:00
parent 9e989d3c52
commit 6f9560982b
5 changed files with 28 additions and 7 deletions

View File

@@ -71,8 +71,8 @@ jobs:
case ${{matrix.strictness}} in
normal) ;;
strict) case ${{matrix.compiler}} in
(gcc) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror -Wno-error=array-bounds" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
(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" ;;
esac ;;
esac
tee ./.bashrc <<EOENV

View File

@@ -61,8 +61,8 @@ jobs:
case ${{matrix.strictness}} in
normal) ;;
strict) case ${{matrix.compiler}} in
(gcc) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror -Wno-error=array-bounds" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
(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" ;;
esac ;;
esac
tee ./.bashrc <<EOENV

View File

@@ -104,7 +104,7 @@ jobs:
case ${{matrix.strictness}} in
normal) ;;
strict) case ${{matrix.compiler}} in
(gcc) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror -Wno-error=array-bounds" ;;
(gcc) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror -Wno-error=deprecated-declarations -Wno-error=array-bounds" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
esac ;;
esac

View File

@@ -69,7 +69,10 @@ jobs:
ref: ${{ github.event.client_payload.branch }}
- run: pwd
shell: msys2 {0}
- run: ls
shell: msys2 {0}
- name: Prepare ccache using action
if: matrix.compiler != 'bcc'
@@ -87,9 +90,9 @@ jobs:
case ${{matrix.strictness}} in
normal) ;;
strict) case ${{matrix.compiler}} in
(mingw64) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror -Wno-error=array-bounds" ;;
(mingw64) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror -Wno-error=deprecated-declarations -Wno-error=array-bounds" ;;
(bcc) HB_USER_CFLAGS="$HB_USER_CFLAGS -w!" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror" ;;
(*) HB_USER_CFLAGS="$HB_USER_CFLAGS -Werror -Wno-error=deprecated-declarations" ;;
esac ;;
esac
tee ./.bashrc <<EOENV
@@ -114,6 +117,15 @@ jobs:
export HB_CCACHE=""
EOMSYSENV
;;
*)
tee -a ./.bashrc <<'EOCCACHE'
# Reconfigure ccache in msys2
ccache --set-config="cache_dir=$(pwd)/.ccache"
ccache --set-config=max_size=32M
ccache --set-config=compression=true
ccache -p
EOCCACHE
;;
esac

View File

@@ -7,6 +7,15 @@
Entries may not always be in chronological/commit order.
See license at the end of file. */
2023-11-12 14:38 UTC+0100 Phil Krylov (phil a t krylov.eu)
* .github/workflows/linux-ci.yml
* .github/workflows/macos-ci.yml
* .github/workflows/vm1-ci.yml
* .github/workflows/windows-ci.yml
* Made strict CI build not that strict by adding
-Wno-error=deprecated-declarations.
! Fixed ccache configuration under msys2.
2023-11-11 21:41 UTC+0100 Phil Krylov (phil a t krylov.eu)
* contrib/hbwin/win_bmp.c
! Fixed dangling pointer access (introduced in commit 64dba82) in