diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index e4c5ef53d..e140e602e 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -74,6 +74,10 @@ jobs: working-directory: ${{runner.workspace}}/build run: cmake --build . --config Debug --verbose + - name: Run tests + working-directory: ${{runner.workspace}}/build + run: ./Debug/min_broken.exe + - name: Create Archive working-directory: ${{runner.workspace}} run: '&($Env:GITHUB_WORKSPACE + "/make_windows_package.ps1") ./build ($Env:GITHUB_WORKSPACE + "/root")' diff --git a/min_broken/main.cpp b/min_broken/main.cpp index 33c1d80e7..457f33db6 100644 --- a/min_broken/main.cpp +++ b/min_broken/main.cpp @@ -1,7 +1,12 @@ +#include #include +std::recursive_mutex mtx; + int main() { - std::recursive_mutex mtx; std::lock_guard lck(mtx); + + printf("Works just fine!\n"); + return 0; } \ No newline at end of file