autotest: integrate buildlog and BIN artifact uploads

This commit is contained in:
Buzz 2020-10-23 14:56:26 +10:00 committed by Andrew Tridgell
parent d31d57484a
commit 284fb53f75
6 changed files with 106 additions and 1 deletions

View File

@ -135,6 +135,21 @@ jobs:
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
with:
name: buildlogs-for-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7
build-gcc-heli:
needs: build-gcc # 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
@ -218,3 +233,18 @@ jobs:
run: |
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
with:
name: buildlogs-for-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7

View File

@ -129,3 +129,18 @@ jobs:
run: |
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
with:
name: buildlogs-for-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7

View File

@ -129,3 +129,18 @@ jobs:
run: |
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
with:
name: buildlogs-for-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7

View File

@ -128,3 +128,18 @@ jobs:
run: |
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
with:
name: buildlogs-for-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7

View File

@ -128,3 +128,18 @@ jobs:
run: |
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
with:
name: buildlogs-for-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
- name: Archive .bin artifacts
uses: actions/upload-artifact@v2
with:
name: BIN-files-for-${{matrix.config}}
path: /__w/ardupilot/ardupilot/logs
retention-days: 7

View File

@ -48,6 +48,13 @@ jobs:
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
with:
name: buildlogs-for-gcc-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14
build-clang:
runs-on: ubuntu-20.04
container: khancyr/ardupilot-dev-clang:latest
@ -90,4 +97,12 @@ jobs:
export CC=clang-7
export CXX=clang++-7
PATH="/github/home/.local/bin:$PATH"
Tools/scripts/build_ci.sh
Tools/scripts/build_ci.sh
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v2
with:
name: buildlogs-for-clang-${{matrix.config}}
path: /tmp/buildlogs
retention-days: 14