[Git][wxwidgets/wxwidgets][master] Cache the Go installer in AppVeyor CI

2 views
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
Jan 30, 2026, 8:43:30 AMJan 30
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch master at wxWidgets / wxWidgets

Commits:

  • 7ba5acc7
    by Maarten Bent at 2026-01-30T14:08:34+01:00
    Cache the Go installer in AppVeyor CI
    
    No need to download it every time.
    
    Closes #26132.
    

1 changed file:

Changes:

  • appveyor.yml
    ... ... @@ -50,6 +50,9 @@ environment:
    50 50
         CONFIGURATION: Release
    
    51 51
         APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
    
    52 52
     
    
    53
    +cache:
    
    54
    +  - '%USERPROFILE%\go%GOVERSION%.windows-amd64.msi'
    
    55
    +
    
    53 56
     clone_depth: 1
    
    54 57
     
    
    55 58
     install: git submodule update --init
    
    ... ... @@ -81,8 +84,10 @@ before_test:
    81 84
         echo Getting and launching httpbin.
    
    82 85
         rmdir %GOROOT% /s /q
    
    83 86
         mkdir %GOROOT%
    
    84
    -    appveyor DownloadFile https://go.dev/dl/go%GOVERSION%.windows-amd64.msi
    
    85
    -    msiexec /i go%GOVERSION%.windows-amd64.msi INSTALLDIR="%GOROOT%" /q
    
    87
    +    cd %USERPROFILE%
    
    88
    +    set go_exe=go%GOVERSION%.windows-amd64.msi
    
    89
    +    if not exist "%go_exe%" appveyor DownloadFile https://go.dev/dl/%go_exe%
    
    90
    +    msiexec /i %go_exe% INSTALLDIR="%GOROOT%" /q
    
    86 91
         go version
    
    87 92
         go install github.com/mccutchen/go-httpbin/v2/cmd/go-httpbin@v2
    
    88 93
         set PATH=%PATH%;%GOPATH%\bin
    


View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help Notification message regarding https://gitlab.com/wxwidgets/wxwidgets/-/commit/7ba5acc72c22d5cf36f33ac927b4b11f0ffa477e at 1769780607

Reply all
Reply to author
Forward
0 new messages