Skip to content

Commit b498365

Browse files
authored
Update action.yml
1 parent 9c418c4 commit b498365

File tree

1 file changed

+2
-2
lines changed
  • .github/actions/Build_and_Test_CppInterOp

1 file changed

+2
-2
lines changed

.github/actions/Build_and_Test_CppInterOp/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ runs:
123123
-DCPPINTEROP_USE_REPL=OFF `
124124
-DCling_DIR="$env:LLVM_BUILD_DIR\tools\cling" `
125125
-DLLVM_DIR="$env:LLVM_BUILD_DIR" `
126-
-DLLVM_ENABLE_WERROR=On `
126+
-DLLVM_ENABLE_WERROR=On -DBUILD_SHARED_LIBS=ON `
127127
-DClang_DIR="$env:LLVM_BUILD_DIR" -DCODE_COVERAGE=${{ env.CODE_COVERAGE }} -DCMAKE_INSTALL_PREFIX="$env:CPPINTEROP_DIR" ..\
128128
}
129129
else
130130
{
131131
cmake -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} `
132132
-DLLVM_DIR="$env:LLVM_BUILD_DIR\lib\cmake\llvm" `
133-
-DLLVM_ENABLE_WERROR=On `
133+
-DLLVM_ENABLE_WERROR=On -DBUILD_SHARED_LIBS=ON `
134134
-DClang_DIR="$env:LLVM_BUILD_DIR\lib\cmake\clang" -DCODE_COVERAGE=${{ env.CODE_COVERAGE }} -DCMAKE_INSTALL_PREFIX="$env:CPPINTEROP_DIR" ..\
135135
}
136136
cmake --build . --config ${{ env.BUILD_TYPE }} --target check-cppinterop --parallel ${{ env.ncpus }}

0 commit comments

Comments
 (0)