mirror of https://github.com/ArduPilot/ardupilot
autotest: integrate buildlog and BIN artifact uploads
This commit is contained in:
parent
d31d57484a
commit
284fb53f75
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
@ -91,3 +98,11 @@ jobs:
|
|||
export CXX=clang++-7
|
||||
PATH="/github/home/.local/bin:$PATH"
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue