tests: Add infrastructure for testing plugins (#1538)

This PR adds a test architecture to be able to test plugins

Main infrastructure done by @WerWolv

---------

Co-authored-by: WerWolv <werwolv98@gmail.com>
This commit is contained in:
iTrooz
2024-02-26 20:51:08 +01:00
committed by GitHub
parent 032ef0722d
commit 47362559ef
28 changed files with 205 additions and 69 deletions

View File

@@ -2,9 +2,8 @@ name: "Unit Tests"
on:
push:
branches: [ master ]
branches: ["*"]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
@@ -49,6 +48,7 @@ jobs:
cd build
CC=gcc-12 CXX=g++-12 cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DIMHEX_ENABLE_UNIT_TESTS=ON \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_C_FLAGS="-fuse-ld=lld -fsanitize=address,leak,undefined -fno-sanitize-recover=all" \