github.com/ethereum/go-ethereum@v1.16.1/appveyor.yml (about)

     1  clone_depth: 5
     2  version: "{branch}.{build}"
     3  
     4  image:
     5    - Ubuntu
     6    - Visual Studio 2019
     7  
     8  environment:
     9    matrix:
    10      - GETH_ARCH: amd64
    11        GETH_MINGW: 'C:\msys64\mingw64'
    12      - GETH_ARCH: 386
    13        GETH_MINGW: 'C:\msys64\mingw32'
    14  
    15  install:
    16    - git submodule update --init --depth 1 --recursive
    17    - go version
    18  
    19  for:
    20    # Linux has its own script without -arch and -cc.
    21    # The linux builder also runs lint.
    22    - matrix:
    23        only:
    24          - image: Ubuntu
    25      build_script:
    26        - go run build/ci.go lint
    27        - go run build/ci.go check_generate
    28        - go run build/ci.go check_baddeps
    29        - go run build/ci.go install -dlgo
    30      test_script:
    31        - go run build/ci.go test -dlgo -short
    32  
    33    # linux/386 is disabled.
    34    - matrix:
    35        exclude:
    36          - image: Ubuntu
    37            GETH_ARCH: 386
    38  
    39    # Windows builds for amd64 + 386.
    40    - matrix:
    41        only:
    42          - image: Visual Studio 2019
    43      environment:
    44        # We use gcc from MSYS2 because it is the most recent compiler version available on
    45        # AppVeyor. Note: gcc.exe only works properly if the corresponding bin/ directory is
    46        # contained in PATH.
    47        GETH_CC: '%GETH_MINGW%\bin\gcc.exe'
    48        PATH: '%GETH_MINGW%\bin;C:\Program Files (x86)\NSIS\;%PATH%'
    49      build_script:
    50        - 'echo %GETH_ARCH%'
    51        - 'echo %GETH_CC%'
    52        - '%GETH_CC% --version'
    53        - go run build/ci.go install -dlgo -arch %GETH_ARCH% -cc %GETH_CC%
    54      after_build:
    55        # Upload builds. Note that ci.go makes this a no-op PR builds.
    56        - go run build/ci.go archive -arch %GETH_ARCH% -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
    57        - go run build/ci.go nsis -arch %GETH_ARCH% -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
    58      test_script:
    59        - go run build/ci.go test -dlgo -arch %GETH_ARCH% -cc %GETH_CC% -short