autotest: integrate buildlog and BIN artifact uploads
This commit is contained in:
parent
d31d57484a
commit
284fb53f75
30
.github/workflows/test_sitl_copter.yml
vendored
30
.github/workflows/test_sitl_copter.yml
vendored
@ -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
|
||||
|
||||
|
15
.github/workflows/test_sitl_plane.yml
vendored
15
.github/workflows/test_sitl_plane.yml
vendored
@ -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
|
||||
|
||||
|
15
.github/workflows/test_sitl_rover.yml
vendored
15
.github/workflows/test_sitl_rover.yml
vendored
@ -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
|
||||
|
||||
|
15
.github/workflows/test_sitl_sub.yml
vendored
15
.github/workflows/test_sitl_sub.yml
vendored
@ -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
|
||||
|
||||
|
15
.github/workflows/test_sitl_tracker.yml
vendored
15
.github/workflows/test_sitl_tracker.yml
vendored
@ -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
|
||||
|
||||
|
17
.github/workflows/test_unit_tests.yml
vendored
17
.github/workflows/test_unit_tests.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user