Skip to content

Commit b92e205

Browse files
committed
all windows use msvc
1 parent 04dfd2b commit b92e205

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test-opencvsharp.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ jobs:
5757
5858
- name: Setup MSVC(Windows ARM64 only)
5959
uses: ilammy/msvc-dev-cmd@v1
60-
if: startsWith(matrix.os, 'win') && matrix.arch == 'arm64'
60+
if: startsWith(matrix.os, 'win')
6161
with:
6262
arch: ${{ matrix.arch }}
6363

6464
- name: Build Test
6565
run: |
6666
cd test
67-
if [[ "${{ matrix.arch }}" == "arm64" && "${{ matrix.os }}" == win* ]]; then
67+
if [[ "${{ matrix.os }}" == win* ]]; then
6868
export MSYS2_ARG_CONV_EXCL="*"
6969
cl /EHsc test.c ../opencvsharp/lib/OpenCvSharpExtern.lib /link /OUT:test.exe
7070
else
@@ -79,7 +79,6 @@ jobs:
7979
export DYLD_LIBRARY_PATH=${{ github.workspace }}/opencvsharp/lib:$DYLD_LIBRARY_PATH
8080
elif [[ "${{ matrix.os }}" == win* ]]; then
8181
export PATH="$(cygpath -u "${{ github.workspace }}/opencvsharp/lib")":$PATH
82-
echo "PATH=$PATH"
8382
else
8483
export LD_LIBRARY_PATH=${{ github.workspace }}/opencvsharp/lib:$LD_LIBRARY_PATH
8584
fi

0 commit comments

Comments
 (0)