From 102b8eb700d850c56115cea46746f0dc508cb158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell=20Hedstr=C3=B6m=20-=20seeking=20Senior=20Engineering?= =?UTF-8?q?=20roles=20as=20well=20as=20contract=20opportunities?= Date: Mon, 5 Feb 2024 10:00:42 -0700 Subject: [PATCH 1/3] dummy pr to check CI --- test_unit/test_crashhandler_windows.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test_unit/test_crashhandler_windows.cpp b/test_unit/test_crashhandler_windows.cpp index a494a6b0..6bb3b0ef 100644 --- a/test_unit/test_crashhandler_windows.cpp +++ b/test_unit/test_crashhandler_windows.cpp @@ -10,7 +10,8 @@ #if (defined(WIN32) || defined(_WIN32) || defined(__WIN32__)) #include -#include "g3log/stacktrace_windows.hpp" +#include "g3log/stacktrace_windows.hpp" + TEST(CrashHandler_Windows, ExceptionType) { EXPECT_EQ(stacktrace::exceptionIdToText(123), "UNKNOWN EXCEPTION:123"); @@ -39,4 +40,4 @@ TEST(CrashHandler_Windows, ExceptionType) { EXPECT_EQ(stacktrace::exceptionIdToText(EXCEPTION_STACK_OVERFLOW), "EXCEPTION_STACK_OVERFLOW"); } -#endif // defined WIN32 \ No newline at end of file +#endif // defined WIN32 From 5c45f4659b8665c3ce4554f4d884b7d422d4fcff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell=20Hedstr=C3=B6m=20-=20seeking=20Senior=20Engineering?= =?UTF-8?q?=20roles=20as=20well=20as=20contract=20opportunities?= Date: Mon, 5 Feb 2024 10:04:06 -0700 Subject: [PATCH 2/3] Update ctest.yml --- .github/workflows/ctest.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ctest.yml b/.github/workflows/ctest.yml index 640e8f77..c3d74a68 100644 --- a/.github/workflows/ctest.yml +++ b/.github/workflows/ctest.yml @@ -85,5 +85,4 @@ jobs: if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' shell: bash # hacky / crude and effective - run: | - ./g3log-FATAL-sigsegv || true && echo -e "\n\n=======================\n\nverifying SIGSEGV existed in stackdump\n\n\n\n" && cat /tmp/g3log*FATAL*.log | grep "SIGSEGV" + run: ./g3log-FATAL-sigsegv || true && echo -e "\n\n=======================\n\nverifying SIGSEGV existed in stackdump\n\n\n\n" && cat /tmp/g3log*FATAL*.log | grep "SIGSEGV" From 1f68d089afa4d2adab09fc5da6ff48643ca9a0a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell=20Hedstr=C3=B6m=20-=20seeking=20Senior=20Engineering?= =?UTF-8?q?=20roles=20as=20well=20as=20contract=20opportunities?= Date: Mon, 5 Feb 2024 10:11:40 -0700 Subject: [PATCH 3/3] updated to v3 --- .github/workflows/ctest.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ctest.yml b/.github/workflows/ctest.yml index c3d74a68..878e26e1 100644 --- a/.github/workflows/ctest.yml +++ b/.github/workflows/ctest.yml @@ -25,8 +25,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true - - jobs: build: strategy: @@ -42,7 +40,7 @@ jobs: #runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Run Linux Build if: matrix.os == 'ubuntu-latest' @@ -51,6 +49,10 @@ jobs: - name: Run Mac Build if: matrix.os == 'macos-latest' run: echo "MacOS Latest" > release_mac + + - name: Run Windows Build + if: matrix.os == 'windows-latest' + run: echo "Windows Latest" > release_windows - name: Create Build Environment # Some projects don't allow in-source building, so create a separate build directory @@ -82,7 +84,7 @@ jobs: - name: Fatal Exit Example working-directory: ${{github.workspace}}/build - if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' + if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' || matrix.os == 'windows-latest' shell: bash # hacky / crude and effective run: ./g3log-FATAL-sigsegv || true && echo -e "\n\n=======================\n\nverifying SIGSEGV existed in stackdump\n\n\n\n" && cat /tmp/g3log*FATAL*.log | grep "SIGSEGV"