Skip to content

Commit 9d7cc2d

Browse files
committed
workflows: Add CI task for denying incompatible types
This is because this behavior is default since gcc 14 or later. But our CI is still using ubuntu-22.04 as a base testing workers. So, we need to implement an additional task for denying incompatible types for pointer operations. Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
1 parent cc19839 commit 9d7cc2d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/unit-tests.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
- "-DFLB_SANITIZE_THREAD=On"
5353
- "-DFLB_SIMD=On"
5454
- "-DFLB_SIMD=Off"
55+
- "-DFLB_DENY_INCOMPATIBLE_TYPES=On"
5556
cmake_version:
5657
- "3.31.6"
5758
compiler:
@@ -66,6 +67,10 @@ jobs:
6667
compiler:
6768
cc: clang
6869
cxx: clang++
70+
- flb_option: "-DFLB_DENY_INCOMPATIBLE_TYPES=On"
71+
compiler:
72+
cc: clang
73+
cxx: clang++
6974
permissions:
7075
contents: read
7176
steps:

0 commit comments

Comments
 (0)