Cache the Go installer in AppVeyor CI (PR #26132)

29 views
Skip to first unread message

Maarten

unread,
Jan 29, 2026, 4:56:57 PM (3 days ago) Jan 29
to wx-...@googlegroups.com, Subscribed

There were some issues downloading the Go installer in AppVeyor CI, see #26116 (comment)

Try to cache it.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26132

Commit Summary

  • 2b46d8c Cache the Go installer in AppVeyor CI

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132@github.com>

Maarten

unread,
Jan 29, 2026, 5:03:20 PM (3 days ago) Jan 29
to wx-...@googlegroups.com, Push

@MaartenBent pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132/before/2b46d8ca6bff48b6837804b95190a8e92ab08faf/after/bb68c1feaaf1c4ac20914c6a365403ad23801abc@github.com>

VZ

unread,
Jan 29, 2026, 6:08:09 PM (3 days ago) Jan 29
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26132)

Thanks a lot! I am not sure if the cache is shared between jobs or not? If not, it might still not work because this seems to be failing all the time now (I think there is really something wrong in this image, see the issue I opened), but maybe it could still work at least once...


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132/c3820867007@github.com>

Maarten

unread,
Jan 29, 2026, 6:56:56 PM (3 days ago) Jan 29
to wx-...@googlegroups.com, Push

@MaartenBent pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132/before/bb68c1feaaf1c4ac20914c6a365403ad23801abc/after/8fa2f52150e7be9e24d883d3097ad7b23ff0c226@github.com>

Maarten

unread,
Jan 29, 2026, 7:01:25 PM (3 days ago) Jan 29
to wx-...@googlegroups.com, Subscribed
MaartenBent left a comment (wxWidgets/wxWidgets#26132)

I am not sure if the cache is shared between jobs or not?

I think it is. The cache variable is a global entry in the file, not specific to a job in the matrix. Once it works we can see if it redownloads it in the 2nd and 3rd job.

It is not always failing, there have been some successful builds the last days https://ci.appveyor.com/project/wxWidgets/wxwidgets/history


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132/c3821030220@github.com>

Maarten

unread,
Jan 30, 2026, 4:17:13 AM (3 days ago) Jan 30
to wx-...@googlegroups.com, Push

@MaartenBent pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132/before/8fa2f52150e7be9e24d883d3097ad7b23ff0c226/after/62de68932829c7b152f0ce30bb689d5556a226a5@github.com>

Maarten

unread,
Jan 30, 2026, 4:55:17 AM (3 days ago) Jan 30
to wx-...@googlegroups.com, Subscribed
MaartenBent left a comment (wxWidgets/wxWidgets#26132)

https://www.appveyor.com/docs/build-cache/

Note: By default, saving cache is disabled in Pull Request builds.

Seems a PR doesn't create the cache. Maybe merge and see what happens?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132/c3822844997@github.com>

VZ

unread,
Jan 30, 2026, 8:09:22 AM (3 days ago) Jan 30
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26132)

OK, will do in a moment.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132/c3823665584@github.com>

VZ

unread,
Jan 30, 2026, 8:17:03 AM (3 days ago) Jan 30
to wx-...@googlegroups.com, Subscribed

Closed #26132 via 7ba5acc.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132/issue_event/22407189701@github.com>

Maarten

unread,
Jan 30, 2026, 2:00:37 PM (2 days ago) Jan 30
to wx-...@googlegroups.com, Subscribed
MaartenBent left a comment (wxWidgets/wxWidgets#26132)

It seems to work. Though all 3 jobs cache it separately. Their logs contain:

set go_exe=go%GOVERSION%.windows-amd64.msi
if not exist "%go_exe%" appveyor DownloadFile https://go.dev/dl/%go_exe%
Downloading go1.22.1.windows-amd64.msi (63,164,416 bytes)...100%
msiexec /i %go_exe% INSTALLDIR="%GOROOT%" /q
go version
go version go1.22.1 windows/amd64
...
Updating build cache...
Cache 'C:\Users\appveyor\go1.22.1.windows-amd64.msi' - Updated
Build success

The latest AppVeyor build that just started does not download the installer:

set go_exe=go%GOVERSION%.windows-amd64.msi
if not exist "%go_exe%" appveyor DownloadFile https://go.dev/dl/%go_exe%
msiexec /i %go_exe% INSTALLDIR="%GOROOT%" /q
go version
go version go1.22.1 windows/amd64


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132/c3825198564@github.com>

VZ

unread,
Jan 31, 2026, 8:27:37 AM (2 days ago) Jan 31
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26132)

Great, thanks a lot once again!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26132/c3828517050@github.com>

Reply all
Reply to author
Forward
0 new messages