Skip to content

Commit 4110892

Browse files
author
Gerry Manoim
committed
try grabbing the coredump
1 parent 0dc4005 commit 4110892

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,22 @@ jobs:
8484
run: |
8585
echo ::set-env name=CC::gcc-8
8686
echo ::set-env name=CXX::g++-8
87-
- name: Run the tests
87+
- name: Run the tests (osx)
88+
if: startsWith(matrix.os, 'macos')
89+
run: |
90+
ulimit -c unlimited
91+
sudo make -j2 test
92+
- name: Run the tests (ubuntu)
93+
if: startsWith(matrix.os, 'ubuntu')
8894
run: |
89-
make -j2 test
95+
ulimit -c unlimited
96+
sudo chmod -R +rwx /var/crash
97+
sudo make -j2 test
98+
- uses: actions/upload-artifact@master # capture all crashes as build artifacts
99+
with:
100+
name: crashes
101+
path: /var/crash
102+
90103
- name: Check that we can still install
91104
run: |
92105
pip install .

0 commit comments

Comments
 (0)