github.com/cryptogateway/go-paymex@v0.0.0-20210204174735-96277fb1e602/appveyor.yml (about)

     1  os: Visual Studio 2015
     2  
     3  # Clone directly into GOPATH.
     4  clone_folder: C:\gopath\src\github.com\ethereum\go-ethereum
     5  clone_depth: 5
     6  version: "{branch}.{build}"
     7  environment:
     8    global:
     9      GO111MODULE: on
    10      GOPATH: C:\gopath
    11      CC: gcc.exe
    12    matrix:
    13      - GETH_ARCH: amd64
    14        MSYS2_ARCH: x86_64
    15        MSYS2_BITS: 64
    16        MSYSTEM: MINGW64
    17        PATH: C:\msys64\mingw64\bin\;C:\Program Files (x86)\NSIS\;%PATH%
    18      - GETH_ARCH: 386
    19        MSYS2_ARCH: i686
    20        MSYS2_BITS: 32
    21        MSYSTEM: MINGW32
    22        PATH: C:\msys64\mingw32\bin\;C:\Program Files (x86)\NSIS\;%PATH%
    23  
    24  install:
    25    - git submodule update --init
    26    - rmdir C:\go /s /q
    27    - appveyor DownloadFile https://dl.google.com/go/go1.15.5.windows-%GETH_ARCH%.zip
    28    - 7z x go1.15.5.windows-%GETH_ARCH%.zip -y -oC:\ > NUL
    29    - go version
    30    - gcc --version
    31  
    32  build_script:
    33    - go run build\ci.go install -dlgo
    34  
    35  after_build:
    36    - go run build\ci.go archive -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
    37    - go run build\ci.go nsis -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
    38  
    39  test_script:
    40    - set CGO_ENABLED=1
    41    - go run build\ci.go test -coverage