File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -147,26 +147,18 @@ jobs:
147147 export MSYS2_ARG_CONV_EXCL="*"
148148 cl /nologo /EHsc test.c ../opencvsharp/lib/OpenCvSharpExtern.lib /link /OUT:test.exe
149149 else
150- # For x64 architecture
151150 gcc test.c -L../opencvsharp/lib -lOpenCvSharpExtern -o test.exe
152151 fi
153152 ls -lR
154153
155- - name : Run Test
156- run : |
157- if [[ "${{ matrix.os }}" == osx* ]]; then
158- export DYLD_LIBRARY_PATH=${{ github.workspace }}/opencvsharp/lib:$DYLD_LIBRARY_PATH
159- elif [[ "${{ matrix.os }}" == win* ]]; then
160- export PATH="$(cygpath -u "${{ github.workspace }}/opencvsharp/lib")":$PATH
161- else
162- export LD_LIBRARY_PATH=${{ github.workspace }}/opencvsharp/lib:$LD_LIBRARY_PATH
163- fi
164- cd test && ./test.exe
165-
166154 - name : Copy opencvsharp/lib to test
167155 run : |
168156 cp -r opencvsharp/lib/* test
169157
158+ - name : Run Test
159+ run : |
160+ cd test && ./test.exe
161+
170162 - name : Upload Artifacts
171163 uses : actions/upload-artifact@v4
172164 with :
You can’t perform that action at this time.
0 commit comments