We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32623a3 commit 4d5f18fCopy full SHA for 4d5f18f
.github/workflows/test-opencvsharp.yml
@@ -143,9 +143,11 @@ jobs:
143
- name: Build Test
144
run: |
145
cd test
146
- if [[ "${{ matrix.os }}" == win* ]]; then
+ if [[ "${{ runner.os }}" == Windows ]]; then
147
export MSYS2_ARG_CONV_EXCL="*"
148
cl /nologo /EHsc test.c ../opencvsharp/lib/OpenCvSharpExtern.lib /link /OUT:test.exe
149
+ elif [[ "${{ runner.os }}" == macOS ]]; then
150
+ gcc test.c -L../opencvsharp/lib -lOpenCvSharpExtern -Wl,-rpath,@loader_path -o test
151
else
152
gcc test.c -L../opencvsharp/lib -lOpenCvSharpExtern -Wl,-rpath,'$ORIGIN' -o test.exe
153
fi
0 commit comments