mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
ci: Run WPT jobs on self-hosted runners (#41062)
this patch enables WPT runs to use self-hosted runners, using the changes in servo/ci-runners#90, servo/ci-runners#91, servo/ci-runners#92, and servo/ci-runners#93 (see servo/ci-runners#21 for more details). fallback to GitHub-hosted runners is included for now, but we can use three self-hosted runners to do what required twenty GitHub-hosted runners in the same amount of time (20 minutes). in the future, we may be able to run WPT faster than that by decreasing --timeout-multiplier or further increasing --processes, if we fix the flakes. Testing: - <https://github.com/servo/servo/actions/runs/19951033498> (18 **22** 18min, 0 stable unexpected) - <https://github.com/servo/servo/actions/runs/19952863638> (18 **19** **19**min, 0 stable unexpected) - <https://github.com/servo/servo/actions/runs/19952882829> (16 **24** 16min, 0 stable unexpected) - <https://github.com/servo/servo/actions/runs/19952885991> (15 **20** **20**min, 0 stable unexpected) - <https://github.com/servo/servo/actions/runs/19953672646> (16 **20** 18min, 0 stable unexpected) - <https://github.com/servo/servo/actions/runs/19953675013> (**18** 17 **18**min, 0 stable unexpected) - <https://github.com/servo/servo/actions/runs/21129181925> (16 **19** 18min, 0 stable unexpected) Fixes: part of #38141 --------- Signed-off-by: Delan Azabani <dazabani@igalia.com> Signed-off-by: delan azabani <dazabani@igalia.com>
This commit is contained in:
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
@@ -101,7 +101,7 @@ jobs:
|
||||
steps:
|
||||
- name: Runner select
|
||||
id: select
|
||||
uses: servo/ci-runners/actions/runner-select@44317e3cd86c5ff2ef0b08878b90da246bc237da
|
||||
uses: servo/ci-runners/actions/runner-select@6d88b19dda997f1ce2a11e4c1c34717c2bbcafba
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
# Before updating the GH action runner image for the nightly job, ensure
|
||||
@@ -122,7 +122,7 @@ jobs:
|
||||
name: Linux Build [${{ needs.runner-select.outputs.unique-id }}]
|
||||
runs-on: ${{ needs.runner-select.outputs.selected-runner-label }}
|
||||
steps:
|
||||
- uses: servo/ci-runners/actions/checkout@44317e3cd86c5ff2ef0b08878b90da246bc237da
|
||||
- uses: servo/ci-runners/actions/checkout@6d88b19dda997f1ce2a11e4c1c34717c2bbcafba
|
||||
- name: Free Disk Space (Ubuntu)
|
||||
uses: jlumbroso/free-disk-space@main
|
||||
if: ${{ runner.environment != 'self-hosted' }}
|
||||
@@ -278,7 +278,7 @@ jobs:
|
||||
steps:
|
||||
- name: Runner select
|
||||
id: select
|
||||
uses: servo/ci-runners/actions/runner-select@44317e3cd86c5ff2ef0b08878b90da246bc237da
|
||||
uses: servo/ci-runners/actions/runner-select@6d88b19dda997f1ce2a11e4c1c34717c2bbcafba
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
# Before updating the GH action runner image for the nightly job, ensure
|
||||
@@ -300,7 +300,7 @@ jobs:
|
||||
runs-on: ${{ needs.runner-select-coverage.outputs.selected-runner-label }}
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- uses: servo/ci-runners/actions/checkout@44317e3cd86c5ff2ef0b08878b90da246bc237da
|
||||
- uses: servo/ci-runners/actions/checkout@6d88b19dda997f1ce2a11e4c1c34717c2bbcafba
|
||||
- name: Free Disk Space (Ubuntu)
|
||||
uses: jlumbroso/free-disk-space@main
|
||||
if: ${{ runner.environment != 'self-hosted' }}
|
||||
|
||||
Reference in New Issue
Block a user