diff --git a/.github/workflows/reusable_ici.yml b/.github/workflows/reusable_ici.yml index 6fbd57a25..aac6cb1d0 100644 --- a/.github/workflows/reusable_ici.yml +++ b/.github/workflows/reusable_ici.yml @@ -34,16 +34,22 @@ on: default: '.ccache' required: false type: string + runner: + description: 'Runner for the CI' + default: 'ubuntu-latest' + required: false + type: string jobs: reusable_ici: name: ${{ inputs.ros_distro }} ${{ inputs.ros_repo }} - runs-on: ubuntu-latest + runs-on: ${{ inputs.runner }} env: DOCKER_RUN_OPTS: '-v /var/run/docker.sock:/var/run/docker.sock --network ursim_net' CCACHE_DIR: ${{ github.workspace }}/${{ inputs.ccache_dir }} CACHE_PREFIX: ${{ inputs.ros_distro }}-${{ inputs.upstream_workspace }}-${{ inputs.ros_repo }} steps: + - run: echo "Running on ${{ inputs.runner }}" - name: Checkout ${{ github.ref_name }} since build is not scheduled if: ${{ github.event_name != 'schedule' }} uses: actions/checkout@v6 diff --git a/.github/workflows/rolling-binary-testing.yml b/.github/workflows/rolling-binary-testing.yml index 92a131e31..a34f85d62 100644 --- a/.github/workflows/rolling-binary-testing.yml +++ b/.github/workflows/rolling-binary-testing.yml @@ -15,6 +15,7 @@ jobs: rolling_binary_testing: uses: ./.github/workflows/reusable_ici.yml with: + runner: ros_driver_runner1 ros_distro: rolling ros_repo: testing ref_for_scheduled_build: main