2021-03-16 11:51:57 +00:00
|
|
|
image: Previous Visual Studio 2019
|
|
|
|
|
2019-01-15 15:41:18 +00:00
|
|
|
build: off
|
|
|
|
|
|
|
|
clone_folder: c:\gopath\src\github.com\go-python\gopy
|
|
|
|
|
|
|
|
cache:
|
2019-01-16 14:22:48 +00:00
|
|
|
- '%LocalAppData%\\go-build'
|
|
|
|
- '%LocalAppData%\\pip'
|
2019-01-15 15:41:18 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
environment:
|
2021-03-16 11:51:57 +00:00
|
|
|
GOPATH: C:\gopath
|
2024-05-03 22:02:18 +00:00
|
|
|
GOROOT: C:\go121
|
2019-01-15 15:41:18 +00:00
|
|
|
GOPY_APPVEYOR_CI: '1'
|
2019-01-16 15:52:19 +00:00
|
|
|
GOTRACEBACK: 'crash'
|
2024-05-03 22:02:18 +00:00
|
|
|
CPYTHON3DIR: "C:\\Python311-x64"
|
2021-03-16 11:51:57 +00:00
|
|
|
PATH: '%GOPATH%\bin;%GOROOT%\bin;%CPYTHON3DIR%;%CPYTHON3DIR%\\Scripts;C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH%'
|
2019-01-15 15:41:18 +00:00
|
|
|
|
2024-05-03 22:02:18 +00:00
|
|
|
stack: go 1.21
|
2019-01-15 15:41:18 +00:00
|
|
|
|
|
|
|
build_script:
|
|
|
|
- python --version
|
|
|
|
- "%CPYTHON3DIR%\\python --version"
|
|
|
|
- "%CPYTHON3DIR%\\python -m pip install --upgrade pip"
|
|
|
|
- "%CPYTHON3DIR%\\python -m pip install cffi"
|
2024-05-03 22:57:34 +00:00
|
|
|
- "%CPYTHON3DIR%\\python -m pip install pybindgen"
|
2021-03-16 11:51:57 +00:00
|
|
|
- go version
|
|
|
|
- go env
|
2019-01-11 11:00:12 +00:00
|
|
|
- go get -v -t ./...
|
2024-05-03 22:08:08 +00:00
|
|
|
- go install golang.org/x/tools/cmd/goimports@latest
|
2019-01-15 15:41:18 +00:00
|
|
|
|
|
|
|
test_script:
|
2019-01-11 11:00:12 +00:00
|
|
|
- go test ./...
|