diff --git a/.github/workflows/test_sitl_copter.yml b/.github/workflows/test_sitl_copter.yml index f87e5324b5..7b7da396d3 100644 --- a/.github/workflows/test_sitl_copter.yml +++ b/.github/workflows/test_sitl_copter.yml @@ -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 + diff --git a/.github/workflows/test_sitl_plane.yml b/.github/workflows/test_sitl_plane.yml index 3c645913a7..f09fa1b1e9 100644 --- a/.github/workflows/test_sitl_plane.yml +++ b/.github/workflows/test_sitl_plane.yml @@ -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 + diff --git a/.github/workflows/test_sitl_rover.yml b/.github/workflows/test_sitl_rover.yml index 7c0dcd1114..adf1ccfc72 100644 --- a/.github/workflows/test_sitl_rover.yml +++ b/.github/workflows/test_sitl_rover.yml @@ -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 + diff --git a/.github/workflows/test_sitl_sub.yml b/.github/workflows/test_sitl_sub.yml index f6ae3b5224..9a4afe0656 100644 --- a/.github/workflows/test_sitl_sub.yml +++ b/.github/workflows/test_sitl_sub.yml @@ -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 + diff --git a/.github/workflows/test_sitl_tracker.yml b/.github/workflows/test_sitl_tracker.yml index 8e19587e94..3bd98991e4 100644 --- a/.github/workflows/test_sitl_tracker.yml +++ b/.github/workflows/test_sitl_tracker.yml @@ -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 + diff --git a/.github/workflows/test_unit_tests.yml b/.github/workflows/test_unit_tests.yml index fdff552ab0..82f5c19de5 100644 --- a/.github/workflows/test_unit_tests.yml +++ b/.github/workflows/test_unit_tests.yml @@ -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 \ No newline at end of file + 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 +