ci: add sanitizer and Wine jobs; defer the RPM generator with evidence
This commit is contained in:
1 parent
52ccd3e001
commit
2b80718f98
5 files changed
+61
-5
No files matched your search
@@ -24,10 +24,10 @@ jobs:
|
||||
run: |
|
||||
clang-format --dry-run --Werror \
|
||||
build.cpp build.profiles.cpp build-support/*.hpp build-support/*.cpp \
|
||||
include/Void/Build.hpp include/Void/Build/*/*.hpp \
|
||||
src/*.cpp src/*/*.cpp \
|
||||
recipes/VoidLibrary/*.hpp recipes/VoidLibrary/*.cpp \
|
||||
registry/include/Void/Build/Registry/*.hpp registry/service/*.cpp \
|
||||
sdk/*.cpp include/Void/Build.hpp include/Void/Build/*/*.hpp \
|
||||
src/*.cpp src/*/*.cpp src/*/*/*.cpp \
|
||||
recipes/*/*.hpp recipes/*/*.cpp \
|
||||
registry/include/Void/Build/Registry/*.hpp registry/service/*.cpp registry/cli/*.cpp \
|
||||
benchmarks/*.cpp tests/*.cpp
|
||||
- name: Benchmark smoke run
|
||||
run: build/ci-gcc/bin/vbs_benchmarks 15
|
||||
@@ -54,3 +54,42 @@ jobs:
|
||||
echo "Signing checks were skipped: the OpenSSL backend was not enabled" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sanitizers-gcc16:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Configure with ASan + UBSan
|
||||
run: |
|
||||
cmake -S . -B build/ci-asan -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Debug \
|
||||
-DCMAKE_CXX_COMPILER=g++-16 \
|
||||
-DCMAKE_CXX_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer" \
|
||||
-DCMAKE_C_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer" \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address,undefined"
|
||||
- name: Build
|
||||
run: cmake --build build/ci-asan --parallel 4
|
||||
- name: Run sanitizer-safe suites
|
||||
env:
|
||||
ASAN_OPTIONS: detect_leaks=1
|
||||
UBSAN_OPTIONS: print_stacktrace=1
|
||||
run: |
|
||||
ctest --test-dir build/ci-asan -R "vbs_sdk_tests|vbs_core_tests" --output-on-failure
|
||||
|
||||
wine-windows-gcc16:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install MinGW-w64 and Wine
|
||||
run: sudo apt-get update && sudo apt-get install -y g++-mingw-w64-x86-64 wine64
|
||||
- name: Configure (Debug, Ninja, GCC 16 C++26)
|
||||
run: |
|
||||
cmake -S . -B build/ci-wine -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Debug \
|
||||
-DCMAKE_CXX_COMPILER=g++-16
|
||||
- name: Build vbs and vbs_v1_tests
|
||||
run: cmake --build build/ci-wine --target vbs vbs_v1_tests --parallel 4
|
||||
- name: Run the Windows target cross-build test under Wine
|
||||
run: |
|
||||
build/ci-wine/bin/vbs_v1_tests \
|
||||
--filter track_c_windows_target_cross_build_and_wine_test --no-color
|
||||
Reference in new issue
Block a user