Browse Source

autotest: integrate buildlog and BIN artifact uploads

zr-v5.1
Buzz 4 years ago committed by Andrew Tridgell
parent
commit
284fb53f75
  1. 30
      .github/workflows/test_sitl_copter.yml
  2. 15
      .github/workflows/test_sitl_plane.yml
  3. 15
      .github/workflows/test_sitl_rover.yml
  4. 15
      .github/workflows/test_sitl_sub.yml
  5. 15
      .github/workflows/test_sitl_tracker.yml
  6. 17
      .github/workflows/test_unit_tests.yml

30
.github/workflows/test_sitl_copter.yml

@ -135,6 +135,21 @@ jobs: @@ -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: @@ -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

@ -129,3 +129,18 @@ jobs: @@ -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

@ -129,3 +129,18 @@ jobs: @@ -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

@ -128,3 +128,18 @@ jobs: @@ -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

@ -128,3 +128,18 @@ jobs: @@ -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

@ -48,6 +48,13 @@ jobs: @@ -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: @@ -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…
Cancel
Save