CI: added upload of failed builds
This commit is contained in:
parent
db8aaeb63a
commit
55de28c0fd
3
.github/workflows/test_replay.yml
vendored
3
.github/workflows/test_replay.yml
vendored
@ -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
|
||||
|
11
.github/workflows/test_sitl_copter.yml
vendored
11
.github/workflows/test_sitl_copter.yml
vendored
@ -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
|
||||
|
5
.github/workflows/test_sitl_plane.yml
vendored
5
.github/workflows/test_sitl_plane.yml
vendored
@ -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
|
||||
|
||||
|
5
.github/workflows/test_sitl_rover.yml
vendored
5
.github/workflows/test_sitl_rover.yml
vendored
@ -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
|
||||
|
||||
|
5
.github/workflows/test_sitl_sub.yml
vendored
5
.github/workflows/test_sitl_sub.yml
vendored
@ -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
|
||||
|
||||
|
5
.github/workflows/test_sitl_tracker.yml
vendored
5
.github/workflows/test_sitl_tracker.yml
vendored
@ -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
|
||||
|
||||
|
3
.github/workflows/test_unit_tests.yml
vendored
3
.github/workflows/test_unit_tests.yml
vendored
@ -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
Block a user