Skip to content

Commit d263001

Browse files
authored
try to fix PR
1 parent 1a932d6 commit d263001

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
@@ -56,7 +56,8 @@ runs:
5656
cmake --build . --target sphinx-cppinterop --parallel ${{ env.ncpus }}
5757
else
5858
cmake --build . --target check-cppinterop --parallel ${{ env.ncpus }}
59-
if [[ "${{ matrix.os }}" == "macos"* ]]; then
59+
os="${{ matrix.os }}"
60+
if [[ "${os}" == "macos"* ]]; then
6061
valgrind --show-error-list=yes --track-origins=yes --error-exitcode=1 unittests/CppInterOp/CppInterOpTests/unittests/bin/${{ env.BUILD_TYPE }}/CppInterOpTests
6162
endif
6263
fi
@@ -65,6 +66,7 @@ runs:
6566
echo "CPPINTEROP_DIR=$CPPINTEROP_DIR" >> $GITHUB_ENV
6667
echo "LLVM_BUILD_DIR=$LLVM_BUILD_DIR" >> $GITHUB_ENV
6768
echo "CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH" >> $GITHUB_ENV
69+
6870
- name: Build and Test/Install CppInterOp on Windows systems
6971
if: runner.os == 'Windows'
7072
shell: powershell

0 commit comments

Comments
 (0)