Skip to content

Commit 4a4515e

Browse files
author
Gerry Manoim
committed
run apport-retrace
1 parent f8e872c commit 4a4515e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,18 @@ jobs:
8484
run: |
8585
echo ::set-env name=CC::gcc-8
8686
echo ::set-env name=CXX::g++-8
87-
- name: Run the tests (osx)
88-
if: startsWith(matrix.os, 'ubuntu')
89-
run: |
90-
sudo chmod -R +rwx /var/crash
87+
# - name: Write permissions to ubunu
88+
# if: startsWith(matrix.os, 'ubuntu')
89+
# run: |
90+
# sudo chmod -R +rwx /var/crash
9191
- name: Run the tests
9292
run: |
9393
ulimit -c unlimited
9494
make -j2 test
95+
- name: Run apport-retrace if we've failed
96+
if: startsWith(matrix.os, 'ubuntu') && failure()
97+
run: |
98+
apport-retrace /var/crash/*.crashes
9599
- uses: actions/upload-artifact@v2 # capture all crashes as build artifacts
96100
if: failure()
97101
with:

0 commit comments

Comments
 (0)