File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 59
59
- macOS
60
60
- GPU-Intel
61
61
- GPU-NV
62
+ LLVM-ExtraCMakeArgs :
63
+ description : ' Extra CMake Args for LLVM'
64
+ required : false
65
+ default : ' '
66
+ type : string
62
67
workflow_call :
63
68
inputs :
64
69
HLSLTest-branch :
100
105
required : false
101
106
default : ' check-hlsl'
102
107
type : string
108
+ LLVM-ExtraCMakeArgs :
109
+ description : ' Extra CMake Args for LLVM'
110
+ required : false
111
+ default : ' '
112
+ type : string
103
113
104
114
jobs :
105
115
build :
@@ -144,7 +154,7 @@ jobs:
144
154
cd llvm-project
145
155
mkdir build
146
156
cd build
147
- cmake -G Ninja -DCMAKE_BUILD_TYPE=${{ inputs.BuildType }} -C ${{ github.workspace }}/llvm-project/clang/cmake/caches/HLSL.cmake -C ${{ github.workspace }}/HLSLTest/cmake/caches/sccache.cmake -DDXC_DIR=${{ github.workspace }}/DXC/build/bin -DLLVM_EXTERNAL_HLSLTEST_SOURCE_DIR=${{ github.workspace }}/HLSLTest -DLLVM_EXTERNAL_PROJECTS="HLSLTest" -DLLVM_LIT_ARGS="--xunit-xml-output=testresults.xunit.xml -v" -DHLSLTEST_TEST_CLANG=${{ inputs.Test-Clang }} ${{ github.workspace }}/llvm-project/llvm/
157
+ cmake -G Ninja ${{ inputs.LLVM-ExtraCMakeArgs }} -DCMAKE_BUILD_TYPE=${{ inputs.BuildType }} -C ${{ github.workspace }}/llvm-project/clang/cmake/caches/HLSL.cmake -C ${{ github.workspace }}/HLSLTest/cmake/caches/sccache.cmake -DDXC_DIR=${{ github.workspace }}/DXC/build/bin -DLLVM_EXTERNAL_HLSLTEST_SOURCE_DIR=${{ github.workspace }}/HLSLTest -DLLVM_EXTERNAL_PROJECTS="HLSLTest" -DLLVM_LIT_ARGS="--xunit-xml-output=testresults.xunit.xml -v" -DHLSLTEST_TEST_CLANG=${{ inputs.Test-Clang }} ${{ github.workspace }}/llvm-project/llvm/
148
158
ninja hlsl-test-depends
149
159
- name : Run HLSL Tests
150
160
run : |
You can’t perform that action at this time.
0 commit comments