mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Customizable wpt options and profile in workflows (#30912)
* wpt -> wpt-sync * Add profile configuration option * Add wpt (for custom tests selection) to CI * Renaming of wpt-* options * fixup! do renames also in scripts * fixup! profile * Fix try labels
This commit is contained in:
parent
81f5157522
commit
1f0f50b22b
7 changed files with 105 additions and 61 deletions
36
.github/workflows/linux.yml
vendored
36
.github/workflows/linux.yml
vendored
|
@ -6,10 +6,15 @@ on:
|
|||
required: false
|
||||
default: "release"
|
||||
type: string
|
||||
wpt:
|
||||
wpt-tests-to-run:
|
||||
default: ""
|
||||
required: false
|
||||
type: string
|
||||
layout:
|
||||
wpt-sync-from-upstream:
|
||||
required: false
|
||||
default: false
|
||||
type: boolean
|
||||
wpt-layout:
|
||||
required: false
|
||||
type: string
|
||||
unit-tests:
|
||||
|
@ -30,12 +35,15 @@ on:
|
|||
default: "release"
|
||||
type: choice
|
||||
options: ["release", "debug", "production"]
|
||||
wpt:
|
||||
default: "test"
|
||||
wpt-tests-to-run:
|
||||
default: ""
|
||||
required: false
|
||||
type: choice
|
||||
options: ["test", "sync"]
|
||||
layout:
|
||||
type: string
|
||||
wpt-sync-from-upstream:
|
||||
default: false
|
||||
required: false
|
||||
type: boolean
|
||||
wpt-layout:
|
||||
required: false
|
||||
type: choice
|
||||
options: ["none", "2013", "2020", "all"]
|
||||
|
@ -140,25 +148,27 @@ jobs:
|
|||
path: target.tar.gz
|
||||
|
||||
wpt-2020:
|
||||
if: ${{ inputs.layout == '2020' || inputs.layout == 'all' }}
|
||||
if: ${{ inputs.wpt-layout == '2020' || inputs.wpt-layout == 'all' }}
|
||||
name: Linux WPT Tests 2020
|
||||
needs: ["build"]
|
||||
uses: ./.github/workflows/linux-wpt.yml
|
||||
with:
|
||||
wpt-tests-to-run: ${{ inputs.wpt-tests-to-run }}
|
||||
profile: ${{ inputs.profile }}
|
||||
wpt: ${{ inputs.wpt }}
|
||||
layout: "layout-2020"
|
||||
wpt-sync-from-upstream: ${{ inputs.wpt-sync-from-upstream }}
|
||||
wpt-layout: "layout-2020"
|
||||
secrets: inherit
|
||||
|
||||
wpt-2013:
|
||||
if: ${{ inputs.layout == '2013' || inputs.layout == 'all' }}
|
||||
if: ${{ inputs.wpt-layout == '2013' || inputs.wpt-layout == 'all' }}
|
||||
name: Linux WPT Tests 2013
|
||||
needs: ["build"]
|
||||
uses: ./.github/workflows/linux-wpt.yml
|
||||
with:
|
||||
wpt-tests-to-run: ${{ inputs.wpt-tests-to-run }}
|
||||
profile: ${{ inputs.profile }}
|
||||
wpt: ${{ inputs.wpt }}
|
||||
layout: "layout-2013"
|
||||
wpt-sync-from-upstream: ${{ inputs.wpt-sync-from-upstream }}
|
||||
wpt-layout: "layout-2013"
|
||||
secrets: inherit
|
||||
|
||||
result:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue