diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a95f51cf..283a1f65 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -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