2019-12-18 23:08:07 +00:00
|
|
|
version: "{build}"
|
|
|
|
|
|
|
|
clone_folder: c:\gopath\src\gocv.io\x\gocv
|
|
|
|
|
|
|
|
platform:
|
|
|
|
- MinGW_x64
|
|
|
|
|
|
|
|
environment:
|
|
|
|
GOPATH: c:\gopath
|
|
|
|
GOROOT: c:\go
|
2022-01-03 18:21:35 +00:00
|
|
|
GOVERSION: 1.16
|
2019-12-18 23:08:07 +00:00
|
|
|
TEST_EXTERNAL: 1
|
|
|
|
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- C:\opencv -> appveyor_build_opencv.cmd
|
|
|
|
|
|
|
|
install:
|
|
|
|
- if not exist "C:\opencv" appveyor_build_opencv.cmd
|
|
|
|
- set PATH=C:\Perl\site\bin;C:\Perl\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\7-Zip;C:\Program Files\Microsoft\Web Platform Installer\;C:\Tools\PsTools;C:\Program Files (x86)\CMake\bin;C:\go\bin;C:\Tools\NuGet;C:\Program Files\LLVM\bin;C:\Tools\curl\bin;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\Yarn\bin;C:\Users\appveyor\AppData\Local\Yarn\bin;C:\Program Files\AppVeyor\BuildAgent\
|
2020-09-06 12:53:53 +00:00
|
|
|
- set PATH=%PATH%;C:\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
|
2019-12-18 23:08:07 +00:00
|
|
|
- set PATH=%PATH%;C:\Tools\GitVersion;C:\Program Files\Git LFS;C:\Program Files\Git\cmd;C:\Program Files\Git\usr\bin;C:\opencv\build\install\x64\mingw\bin;
|
|
|
|
- echo %PATH%
|
|
|
|
- echo %GOPATH%
|
|
|
|
- go version
|
|
|
|
- cd c:\gopath\src\gocv.io\x\gocv
|
|
|
|
- go get -d .
|
|
|
|
- set GOCV_CAFFE_TEST_FILES=C:\opencv\testdata
|
|
|
|
- set GOCV_TENSORFLOW_TEST_FILES=C:\opencv\testdata
|
2021-01-17 18:07:37 +00:00
|
|
|
- set GOCV_ONNX_TEST_FILES=C:\opencv\testdata
|
2019-12-18 23:08:07 +00:00
|
|
|
- set OPENCV_ENABLE_NONFREE=ON
|
|
|
|
- go env
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- go test -tags matprofile -v .
|
|
|
|
- go test -tags matprofile -v ./contrib
|