mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
dummy pr to check CI (#517)
Updated checkout version to v3 to move to node20 (node16 end of life) * updated to v3
This commit is contained in:
parent
45ca1f6b6e
commit
326fef95ac
13
.github/workflows/ctest.yml
vendored
13
.github/workflows/ctest.yml
vendored
@ -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'
|
||||
@ -52,6 +50,10 @@ jobs:
|
||||
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
|
||||
# We'll use this as our working directory for all subsequent commands
|
||||
@ -82,8 +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"
|
||||
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"
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <windows.h>
|
||||
#include "g3log/stacktrace_windows.hpp"
|
||||
|
||||
|
||||
TEST(CrashHandler_Windows, ExceptionType) {
|
||||
EXPECT_EQ(stacktrace::exceptionIdToText(123), "UNKNOWN EXCEPTION:123");
|
||||
EXPECT_EQ(stacktrace::exceptionIdToText(1), "UNKNOWN EXCEPTION:1");
|
||||
|
Loading…
Reference in New Issue
Block a user