mirror of https://github.com/ArduPilot/ardupilot
CI: added upload of failed builds
This commit is contained in:
parent
db8aaeb63a
commit
55de28c0fd
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue