github.com/benorgera/go-ethereum@v1.10.18-0.20220401011646-b3f57b1a73ba/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 install -dlgo
    28      test_script:
    29        - go run build/ci.go test -dlgo -coverage
    30  
    31    # linux/386 is disabled.
    32    - matrix:
    33        exclude:
    34          - image: Ubuntu
    35            GETH_ARCH: 386
    36  
    37    # Windows builds for amd64 + 386.
    38    - matrix:
    39        only:
    40          - image: Visual Studio 2019
    41      environment:
    42        # We use gcc from MSYS2 because it is the most recent compiler version available on
    43        # AppVeyor. Note: gcc.exe only works properly if the corresponding bin/ directory is
    44        # contained in PATH.
    45        GETH_CC: '%GETH_MINGW%\bin\gcc.exe'
    46        PATH: '%GETH_MINGW%\bin;C:\Program Files (x86)\NSIS\;%PATH%'
    47      build_script:
    48        - 'echo %GETH_ARCH%'
    49        - 'echo %GETH_CC%'
    50        - '%GETH_CC% --version'
    51        - go run build/ci.go install -dlgo -arch %GETH_ARCH% -cc %GETH_CC%
    52      after_build:
    53        # Upload builds. Note that ci.go makes this a no-op PR builds.
    54        - go run build/ci.go archive -arch %GETH_ARCH% -type zip -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
    55        - go run build/ci.go nsis -arch %GETH_ARCH% -signer WINDOWS_SIGNING_KEY -upload gethstore/builds
    56      test_script:
    57        - go run build/ci.go test -dlgo -arch %GETH_ARCH% -cc %GETH_CC% -coverage