ci: expose isolated Windows diagnostics from native workflow
This commit is contained in:
1 parent
af40388859
commit
67054fcf96
3 files changed
+17
-1
No files matched your search
@@ -2,6 +2,11 @@ name: Full native tests
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
windows_diagnostics_run:
|
||||
description: Diagnose a previous Windows runtime without running a release validation
|
||||
type: string
|
||||
default: ""
|
||||
workflow_call:
|
||||
push:
|
||||
# Releases call this entire workflow instead of duplicating branch-push jobs.
|
||||
@@ -28,9 +33,17 @@ on:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
windows-diagnostics:
|
||||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.windows_diagnostics_run != '' }}
|
||||
uses: ./.github/workflows/windows-conformance.yml
|
||||
with:
|
||||
runtime_run: ${{ inputs.windows_diagnostics_run }}
|
||||
|
||||
native-tests:
|
||||
if: ${{ inputs.windows_diagnostics_run == '' }}
|
||||
name: Tests (${{ matrix.os }})
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
@@ -121,6 +121,9 @@ jobs:
|
||||
|
||||
native-tests:
|
||||
name: Native tests
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
if: ${{ !inputs.windows_only }}
|
||||
needs: prepare
|
||||
uses: ./.github/workflows/linux-lua.yml
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: Windows conformance diagnostics
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
inputs:
|
||||
runtime_run:
|
||||
description: Release run whose Windows runtime artifact should be diagnosed
|
||||
|
||||
Reference in new issue
Block a user