github.com/SmartMeshFoundation/Spectrum@v0.0.0-20220621030607-452a266fee1e/appveyor.yml (about)

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