From 03192c6a5ba3e4aca02dfa4593962b8a7d9c5ca3 Mon Sep 17 00:00:00 2001 From: firewave Date: Sun, 29 Dec 2024 18:21:18 +0100 Subject: [PATCH] CI-windows.yml: integrated `test-sehwrapper` --- .github/workflows/CI-windows.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/CI-windows.yml b/.github/workflows/CI-windows.yml index a1a940961fe..130112972a7 100644 --- a/.github/workflows/CI-windows.yml +++ b/.github/workflows/CI-windows.yml @@ -207,6 +207,17 @@ jobs: env: TEST_CPPCHECK_INJECT_BUILDDIR: injected + # TODO: test with Release configuration? + - name: Test SEH wrapper + if: matrix.config == 'release' + run: | + cmake -S . -B build.cmake.seh -DBUILD_TESTS=On || exit /b !errorlevel! + cmake --build build.cmake.seh --target test-sehwrapper || exit /b !errorlevel! + :: TODO: how to run this without copying the file? + copy build.cmake.seh\bin\Debug\test-sehwrapper.exe . || exit /b !errorlevel! + python3 -m pytest -Werror --strict-markers -vv test/seh/test-sehwrapper.py || exit /b !errorlevel! + del test-sehwrapper.exe || exit /b !errorlevel! + - name: Test addons if: matrix.config == 'release' run: |