servo/.github/workflows/dispatch-workflow.yml
Samson ebdae6094e
CI: Add separate Lint&Tidy check and remove test-tidy from linux (#33150)
* Create separate Lint&Tidy check

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Remove quick-check as it's not longer relevant

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Add clippy to rust-toolchain

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* fix try parser test expectations

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* use lint in result

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Lint & Tidy -> Lint

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: Samson <16504129+sagudev@users.noreply.github.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2024-08-23 08:58:12 +00:00

72 lines
1.6 KiB
YAML

name: Dispatch Workflow
on:
workflow_call:
inputs:
workflow:
required: true
type: string
profile:
required: true
type: string
wpt-args:
required: true
type: string
wpt-layout:
required: true
type: string
unit-tests:
required: true
type: boolean
jobs:
win:
if: ${{ inputs.workflow == 'windows' }}
name: Windows
uses: ./.github/workflows/windows.yml
secrets: inherit
with:
profile: ${{ inputs.profile }}
unit-tests: ${{ inputs.unit-tests }}
macos:
if: ${{ inputs.workflow == 'macos' }}
name: MacOS
uses: ./.github/workflows/mac.yml
secrets: inherit
with:
profile: ${{ inputs.profile }}
wpt-layout: ${{ inputs.wpt-layout }}
unit-tests: ${{ inputs.unit-tests }}
wpt-args: ${{ inputs.wpt-args }}
linux:
if: ${{ inputs.workflow == 'linux' }}
name: Linux
uses: ./.github/workflows/linux.yml
secrets: inherit
with:
profile: ${{ inputs.profile }}
wpt-layout: ${{ inputs.wpt-layout }}
unit-tests: ${{ inputs.unit-tests }}
wpt-args: ${{ inputs.wpt-args }}
lint:
if: ${{ inputs.workflow == 'lint' }}
name: Lint
uses: ./.github/workflows/lint.yml
secrets: inherit
android:
if: ${{ inputs.workflow == 'android' }}
name: Android
uses: ./.github/workflows/android.yml
secrets: inherit
with:
profile: ${{ inputs.profile }}
ohos:
if: ${{ inputs.workflow == 'ohos' }}
name: OpenHarmony
uses: ./.github/workflows/ohos.yml
with:
profile: ${{ inputs.profile }}