Skip to content

Commit

Permalink
build: appease windows
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Mar 29, 2024
1 parent 40e8345 commit 2e3189b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ jobs:
- name: Test GoCV
run: |
set CGO_CXXFLAGS="--std=c++11"
set CGO_CPPFLAGS=-ID:\a\gocv\gocv\opencv\build\install\include
set CGO_LDFLAGS=-LD:\a\gocv\gocv\opencv\build\install\x64\mingw\lib -lopencv_core490 -lopencv_face490 -lopencv_videoio490 -lopencv_imgproc490 -lopencv_highgui490 -lopencv_imgcodecs490 -lopencv_objdetect490 -lopencv_features2d490 -lopencv_video490 -lopencv_dnn490 -lopencv_xfeatures2d490 -lopencv_plot490 -lopencv_tracking490 -lopencv_img_hash490
set CGO_CPPFLAGS="-ID:\a\gocv\gocv\opencv\build\install\include"
set CGO_LDFLAGS="-LD:\a\gocv\gocv\opencv\build\install\x64\mingw\lib -lopencv_core490 -lopencv_face490 -lopencv_videoio490 -lopencv_imgproc490 -lopencv_highgui490 -lopencv_imgcodecs490 -lopencv_objdetect490 -lopencv_features2d490 -lopencv_video490 -lopencv_dnn490 -lopencv_xfeatures2d490 -lopencv_plot490 -lopencv_tracking490 -lopencv_img_hash490"
go test -v -tags matprofile .
- name: Test GoCV Contrib
run: |
set CGO_CXXFLAGS="--std=c++11"
set CGO_CPPFLAGS=-ID:\a\gocv\gocv\opencv\build\install\include
set CGO_LDFLAGS=-LD:\a\gocv\gocv\opencv\build\install\x64\mingw\lib -lopencv_core490 -lopencv_face490 -lopencv_videoio490 -lopencv_imgproc490 -lopencv_highgui490 -lopencv_imgcodecs490 -lopencv_objdetect490 -lopencv_features2d490 -lopencv_video490 -lopencv_dnn490 -lopencv_xfeatures2d490 -lopencv_plot490 -lopencv_tracking490 -lopencv_img_hash490
set CGO_CPPFLAGS="-ID:\a\gocv\gocv\opencv\build\install\include"
set CGO_LDFLAGS="-LD:\a\gocv\gocv\opencv\build\install\x64\mingw\lib -lopencv_core490 -lopencv_face490 -lopencv_videoio490 -lopencv_imgproc490 -lopencv_highgui490 -lopencv_imgcodecs490 -lopencv_objdetect490 -lopencv_features2d490 -lopencv_video490 -lopencv_dnn490 -lopencv_xfeatures2d490 -lopencv_plot490 -lopencv_tracking490 -lopencv_img_hash490"
go test -v -tags matprofile .\contrib

0 comments on commit 2e3189b

Please sign in to comment.