We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fbe528 commit b72b494Copy full SHA for b72b494
.github/workflows/test-opencvsharp.yml
@@ -55,11 +55,17 @@ jobs:
55
}' > test.c
56
cat test.c
57
58
+ - name: Setup MSVC(Windows ARM64 only)
59
+ uses: ilammy/msvc-dev-cmd@v1
60
+ if: startsWith(matrix.os, 'win') && matrix.arch == 'arm64'
61
+ with:
62
+ arch: ${{ matrix.arch }}
63
+
64
- name: Build Test
65
run: |
66
cd test
67
if [[ "${{ matrix.arch }}" == "arm64" && "${{ matrix.os }}" == win* ]]; then
- clang --target=aarch64-w64-windows-gnu test.c -o test.exe
68
+ cl /EHsc test.c ../opencvsharp/lib/OpenCvSharpExtern.lib /link /OUT:test.exe
69
else
70
# For x64 architecture
71
gcc test.c -L../opencvsharp/lib -lOpenCvSharpExtern -o test.exe
0 commit comments