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 30, 2024
1 parent 433842e commit f4a8bdb
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,14 @@ jobs:
path: |
./opencv/build
- name: Test GoCV
shell: bash
run: |
export CGO_CXXFLAGS="--std=c++11"
export CGO_CPPFLAGS="-ID:/a/gocv/gocv/opencv/build/install/include"
export 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 -lopencv_calib3d490 -lopencv_bgsegm490 -lopencv_photo490 -lopencv_aruco490 -lopencv_wechat_qrcode490 -lopencv_ximgproc490"
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 -lopencv_calib3d490 -lopencv_bgsegm490 -lopencv_photo490 -lopencv_aruco490 -lopencv_wechat_qrcode490 -lopencv_ximgproc490"
go test -v -tags matprofile .
- name: Test GoCV Contrib
shell: bash
run: |
export CGO_CXXFLAGS="--std=c++11"
export CGO_CPPFLAGS="-ID:/a/gocv/gocv/opencv/build/install/include"
export 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 -lopencv_calib3d490 -lopencv_bgsegm490 -lopencv_photo490 -lopencv_aruco490 -lopencv_wechat_qrcode490 -lopencv_ximgproc490"
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 -lopencv_calib3d490 -lopencv_bgsegm490 -lopencv_photo490 -lopencv_aruco490 -lopencv_wechat_qrcode490 -lopencv_ximgproc490"
go test -v -tags matprofile ./contrib

0 comments on commit f4a8bdb

Please sign in to comment.