Windows path for gitactions? (#516)

* Update ctest.yml and add Windows to CI pipeline gitactions.
This commit is contained in:
Kjell Hedström - seeking Senior Engineering roles as well as contract opportunities 2024-02-03 15:37:06 -07:00 committed by GitHub
parent f2b9f9b62c
commit 9a8c0fc854
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
# The CMake configure and build commands are platform agnostic and should work equally
@ -82,6 +82,8 @@ jobs:
- name: Fatal Exit Example
working-directory: ${{github.workspace}}/build
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"