Skip to content

Commit

Permalink
Add Linux core dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Nov 15, 2024
1 parent 54548fe commit b4af71e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ jobs:
with:
use_matlab: ${{ matrix.config == 'matlab' }}

- name: Enable Linux core dumps
run: |
ulimit -c unlimited
if: runner.os == 'Linux'

# See https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps
- name: Enable Windows crash dumps
run: |
Expand Down Expand Up @@ -128,6 +133,14 @@ jobs:
if-no-files-found: ignore
if: always()

- name: Upload Linux core dumps
uses: actions/upload-artifact@v4
with:
name: core-dumps-${{ matrix.config }}-${{ matrix.os }}
path: /var/lib/apport/coredump/*
if-no-files-found: ignore
if: runner.os == 'Linux' && always()

- name: Upload macOS crash diagnostics
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions cpp/test/Ice/properties/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ Client::run(int, char**)
test(properties->getProperty("Ice.MessageSizeMax") == "20");
cout << "ok" << endl;
}

assert(false);
}

DEFINE_TEST(Client)

0 comments on commit b4af71e

Please sign in to comment.