Skip to content

Commit a857ca1

Browse files
authored
Update action.yml to add shell
1 parent 4123949 commit a857ca1

File tree

1 file changed

+3
-1
lines changed
  • .github/actions/Build_and_Test_CppInterOp

1 file changed

+3
-1
lines changed

.github/actions/Build_and_Test_CppInterOp/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ runs:
66
steps:
77
- name: Build and Test/Install CppInterOp
88
if: runner.os != 'Windows'
9+
shell: bash
910
run: |
1011
LLVM_DIR="$(pwd)/llvm-project"
1112
LLVM_BUILD_DIR="$(pwd)/llvm-project/build"
@@ -67,6 +68,7 @@ runs:
6768
6869
- name: Build and Test/Install CppInterOp on Windows systems
6970
if: runner.os == 'Windows'
71+
shell: powershell
7072
run: |
7173
$env:PWD_DIR= $PWD.Path
7274
@@ -131,4 +133,4 @@ runs:
131133
-DClang_DIR="$env:LLVM_BUILD_DIR\lib\cmake\clang" -DCODE_COVERAGE=${{ env.CODE_COVERAGE }} -DCMAKE_INSTALL_PREFIX="$env:CPPINTEROP_DIR" ..\
132134
cmake --build . --config ${{ env.BUILD_TYPE }} --target googletest --parallel ${{ env.ncpus }}
133135
}
134-
cmake --build . --config ${{ env.BUILD_TYPE }} --target check-cppinterop --parallel ${{ env.ncpus }}
136+
cmake --build . --config ${{ env.BUILD_TYPE }} --target check-cppinterop --parallel ${{ env.ncpus }}

0 commit comments

Comments
 (0)