CI: added upload of failed builds

This commit is contained in:
Andrew Tridgell 2021-02-08 16:27:36 +11:00
parent db8aaeb63a
commit 55de28c0fd
7 changed files with 22 additions and 15 deletions

View File

@ -59,7 +59,8 @@ jobs:
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
if: failure()
with:
name: buildlogs-for-${{ matrix.toolchain }}-${{matrix.config}}
name: fail-${{ matrix.toolchain }}-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14

View File

@ -108,19 +108,19 @@ jobs:
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
if: failure()
with:
name: buildlogs-for-${{matrix.config}}
name: fail-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7
build-gcc-heli:
needs: build # don't try to launch the tests matrix if it doesn't build first, profit from caching for fast build
runs-on: ubuntu-20.04
@ -207,14 +207,15 @@ jobs:
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
if: failure()
with:
name: buildlogs-for-${{matrix.config}}
name: fail-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7

View File

@ -103,15 +103,16 @@ jobs:
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
if: failure()
with:
name: buildlogs-for-${{matrix.config}}
name: fail-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7

View File

@ -103,15 +103,16 @@ jobs:
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
if: failure()
with:
name: buildlogs-for-${{matrix.config}}
name: fail-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7

View File

@ -102,15 +102,16 @@ jobs:
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
if: failure()
with:
name: buildlogs-for-${{matrix.config}}
name: fail-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7

View File

@ -102,15 +102,16 @@ jobs:
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
if: failure()
with:
name: buildlogs-for-${{matrix.config}}
name: fail-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
name: BIN-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7

View File

@ -59,7 +59,8 @@ jobs:
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
if: failure()
with:
name: buildlogs-for-${{ matrix.toolchain }}-${{matrix.config}}
name: fail-${{ matrix.toolchain }}-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14