diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 7aa7dfb4e..41a07f220 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -114,6 +114,10 @@ jobs: run: | find build -depth -cpio -name \*.trs | xargs grep -lw FAIL | sed -e 's/trs$/log/' | tar -czf $HOME/logs-linux-${{ matrix.compiler }}.tgz --verbatim-files-from --files-from - find build -name \*.trs | xargs grep -lw FAIL | sed -e 's/trs$/log/' | xargs cat + - name: Failed Test logs + if: ${{ failure() }} + run: | + find build -name \*.trs | xargs grep -lw FAIL | sed -e 's/trs$/log/' | xargs cat - name: Make Dist run: | cd build diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 1ff9c2433..5153c0219 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -98,6 +98,10 @@ jobs: run: | find build -depth -cpio -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/' | cpio -o > $HOME/logs-osx.cpio find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat + - name: Failed Test logs + if: ${{ failure() }} + run: | + find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat - name: Upload Install Tarball uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/scanbuild.yml b/.github/workflows/scanbuild.yml index ed6937ccb..678ccfd80 100644 --- a/.github/workflows/scanbuild.yml +++ b/.github/workflows/scanbuild.yml @@ -56,6 +56,10 @@ jobs: cd build ulimit -c unlimited scan-build --keep-going make check + - name: Failed Test logs + if: ${{ failure() }} + run: | + find build -name \*.trs|xargs grep -lw FAIL|sed -e 's/trs$/log/'|xargs cat - name: Upload Artifacts uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 3b3fab61a..5d6b06667 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -62,6 +62,10 @@ jobs: run: | find build -depth -cpio -name \*.log | sed -e 's/trs$/log/' | tar -czf $HOME/logs-linux-valgrind.tgz --verbatim-files-from --files-from - find build -name \*.trs|xargs grep -lw FAIL | sed -e 's/trs$/log/' | xargs cat + - name: Failed Test logs + if: ${{ failure() }} + run: | + find build -name \*.trs|xargs grep -lw FAIL | sed -e 's/trs$/log/' | xargs cat - name: Upload Artifacts uses: actions/upload-artifact@v2 with: