Skip to content

Commit 9d32660

Browse files
committed
fix osx
1 parent 60e88d1 commit 9d32660

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test-opencvsharp.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,11 @@ jobs:
5959
6060
- name: Run Test
6161
run: |
62-
export LD_LIBRARY_PATH=${{ github.workspace }}/opencvsharp/lib:$LD_LIBRARY_PATH
62+
if [[ "${{ matrix.os }}" == osx* ]]; then
63+
export DYLD_LIBRARY_PATH=${{ github.workspace }}/opencvsharp/lib:$DYLD_LIBRARY_PATH
64+
else
65+
export LD_LIBRARY_PATH=${{ github.workspace }}/opencvsharp/lib:$LD_LIBRARY_PATH
66+
fi
6367
cd test && ./test
6468
6569
- name: Upload Artifacts

0 commit comments

Comments
 (0)