forked from choria-io/go-choria
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.appveyor.yml
34 lines (27 loc) · 824 Bytes
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "{build}"
clone_folder: c:\gopath\src\github.com\choria-io\go-choria
environment:
GOPATH: c:\gopath
GOVERSION: "1.22.0"
MCOLLECTIVE_CERTNAME: rip.mcollective
RUBY_VERSION: 24
CGO_ENABLED: 0
init:
- git config --global core.autocrlf input
stack: go 1.22
install:
# Install the specific Go version.
- rmdir c:\go /s /q
- mkdir c:\go
- appveyor DownloadFile https://golang.org/dl/go%GOVERSION%.windows-amd64.msi
- msiexec /i go%GOVERSION%.windows-amd64.msi INSTALLDIR="c:\go" /q
- set Path=C:\Ruby%RUBY_VERSION%\bin;c:\go\bin;c:\gopath\bin;%Path%
- go version
- ruby -v
# Install vendor dependencies
- go install github.com/onsi/ginkgo/v2/ginkgo@latest
build: false
deploy: false
test_script:
# TODO: support windows pkcs11sec
- ginkgo -r -keep-going -skip-package pkcs11sec