[llvm] Add pre-merge workflow for HLSL testing (PR #122184)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 16:08:40 PST 2025


================
@@ -0,0 +1,177 @@
+name: HLSL Test
+
+permissions:
+  contents: read
+  checks: write
+
+on:
+  workflow_dispatch:
+    inputs:
+      LLVM-Ref:
+        description: 'Test Suite Branch'
+        required: false
+        default: 'main'
+        type: string
+      LLVM-branch:
+        description: 'LLVM Branch'
+        required: false
+        default: 'main'
+        type: string
+      LLVM-fork:
+        description: 'LLVM fork'
+        required: false
+        default: 'llvm'
+        type: string
+      DXC-branch:
+        description: 'DXC Branch'
+        required: false
+        default: 'main'
+        type: string
+      BuildType:
+        description: 'Build Type'
+        required: false
+        default: 'Release'
+        type: choice
+        options:
+        - Release
+        - RelWithDebInfo
+        - Debug
+      TestTarget:
+        required: false
+        default: 'check-hlsl'
+        type: string
+      Test-Clang:
+        required: true
+        type: choice
+        options:
+        - On
+        - Off
+      OS:
+        required: true
+        type: choice
+        options:
+        - macOS
+        - windows
----------------
tstellar wrote:

You should be able to replace `inputs.OS` with `runner.os ` in all places and drop this parameter completely.  The OS values are: `Linux`, `Windows`, and `macOS`.

https://github.com/llvm/llvm-project/pull/122184


More information about the llvm-commits mailing list