From b2f663648e9858c0f63e50a87faa347431a12e8c Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Wed, 21 Aug 2024 07:56:37 -0700 Subject: [PATCH] ci: github actions runs-on Dronecode AWS Infra * ci: try runs-on Dronecode Infra * ci: comment on how to disable RunsOn * Update .github/workflows/build_all_targets.yml --- .github/workflows/build_all_targets.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_all_targets.yml b/.github/workflows/build_all_targets.yml index 119236b319..0aa6ce92e5 100644 --- a/.github/workflows/build_all_targets.yml +++ b/.github/workflows/build_all_targets.yml @@ -1,3 +1,8 @@ +# NOTE: this workflow is now running on Dronecode / PX4 AWS account. +# - If you want to keep the tests running in GitHub Actions you need to uncomment the "runs-on: ubuntu-latest" lines +# and comment the "runs-on: [runs-on,runner=..." lines. +# - If you would like to duplicate this setup try setting up "RunsOn" on your own AWS account try https://runs-on.com + name: Build all targets on: @@ -14,7 +19,8 @@ on: jobs: group_targets: name: Scan for Board Targets - runs-on: ubuntu-latest + # runs-on: ubuntu-latest + runs-on: [runs-on,runner=1cpu-linux-x64,image=ubuntu22-full-x64,"run-id=${{ github.run_id }}"] outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} timestamp: ${{ steps.set-timestamp.outputs.timestamp }} @@ -34,7 +40,8 @@ jobs: setup: name: ${{ matrix.group }} - runs-on: ubuntu-latest + # runs-on: ubuntu-latest + runs-on: [runs-on,runner=8cpu-linux-x64,image=ubuntu22-full-x64,"run-id=${{ github.run_id }}"] needs: group_targets strategy: matrix: ${{ fromJson(needs.group_targets.outputs.matrix) }}