From d301e34e108f53b167dc27141d99743ae5846b06 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Tue, 20 Aug 2024 11:22:08 -0700 Subject: [PATCH] ci: run on 16 cores and debug sitl --- .github/workflows/build_all_targets.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_all_targets.yml b/.github/workflows/build_all_targets.yml index fb747f57db..f6f1ec6001 100644 --- a/.github/workflows/build_all_targets.yml +++ b/.github/workflows/build_all_targets.yml @@ -35,8 +35,8 @@ jobs: run: echo "::set-output name=timestamp::$(date +"%Y%m%d%H%M%S")" setup: - name: ${{ matrix.group }} - runs-on: [runs-on,runner=8cpu-linux-x64,image=ubuntu22-full-x64,"run-id=${{ github.run_id }}"] + name: Building ${{ matrix.group }} + runs-on: [runs-on,runner=16cpu-linux-x64,image=ubuntu22-full-x64,"run-id=${{ github.run_id }}"] needs: group_targets strategy: matrix: ${{ fromJson(needs.group_targets.outputs.matrix) }} @@ -92,7 +92,7 @@ jobs: run: ccache -s sitl_tests: - name: SITL Tests + name: Running SITL Tests runs-on: [runs-on,runner=16cpu-linux-x64,image=ubuntu22-full-x64,"run-id=${{ github.run_id }}"] needs: - setup @@ -193,6 +193,9 @@ jobs: if: failure() run: gdb build/px4_sitl_default/bin/px4 px4.core -ex "thread apply all bt" -ex "quit" + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + - name: Upload PX4 coredump if: failure() uses: actions/upload-artifact@v4