github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/.appveyor.yml (about)

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