gitee.com/liu-zhao234568/cntest@v1.0.0/appveyor.yml (about)

     1  os: Visual Studio 2019
     2  clone_depth: 5
     3  version: "{branch}.{build}"
     4  environment:
     5    matrix:
     6      # We use gcc from MSYS2 because it is the most recent compiler version available on
     7      # AppVeyor. Note: gcc.exe only works properly if the corresponding bin/ directory is
     8      # contained in PATH.
     9      - GETH_ARCH: amd64
    10        GETH_CC: C:\msys64\mingw64\bin\gcc.exe
    11        PATH: C:\msys64\mingw64\bin;C:\Program Files (x86)\NSIS\;%PATH%
    12      - GETH_ARCH: 386
    13        GETH_CC: C:\msys64\mingw32\bin\gcc.exe
    14        PATH: C:\msys64\mingw32\bin;C:\Program Files (x86)\NSIS\;%PATH%
    15  
    16  install:
    17    - git submodule update --init --depth 1
    18    - go version
    19    - "%GETH_CC% --version"
    20  
    21  build_script:
    22    - go run build\ci.go install -dlgo -arch %GETH_ARCH% -cc %GETH_CC%
    23  
    24  after_build:
    25    - go run build\ci.go archive -arch %GETH_ARCH% -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
    26    - go run build\ci.go nsis -arch %GETH_ARCH% -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
    27  
    28  test_script:
    29    - go run build\ci.go test -dlgo -arch %GETH_ARCH% -cc %GETH_CC% -coverage