Skip to content

fix: replace NuGet/Mono binary caching with vcpkg files backend#53

Draft
ahmeij wants to merge 5 commits intoEuro-Office:mainfrom
soverin:fix/remove-nuget-mono-dep
Draft

fix: replace NuGet/Mono binary caching with vcpkg files backend#53
ahmeij wants to merge 5 commits intoEuro-Office:mainfrom
soverin:fix/remove-nuget-mono-dep

Conversation

@ahmeij
Copy link
Copy Markdown
Contributor

@ahmeij ahmeij commented Mar 31, 2026

1.891 A suitable version of nuget was not found (required v7.3.0).
1.892 Downloading https://dist.nuget.org/win-x86-commandline/v7.3.0/nuget.exe -> eaa38ed8-nuget.exe
2.240 Successfully downloaded eaa38ed8-nuget.exe
3.454 error: /usr/bin/mono /opt/vcpkg/downloads/tools/nuget-7.3.0-linux/nuget.exe help -ForceEnglishOutput failed with exit code 134
3.454 * Assertion: should not be reached at tramp-amd64.c:606

NuGet 7.x dropped Mono support, causing a SIGABRT when vcpkg attempted to initialise the NuGet binary cache on Linux. Replacing the NuGet backend with vcpkg's built-in files backend provides the same caching behaviour without any Mono or .NET dependency.

We can restore caching for CI using Githib actions/cache.

Changed the github runner to cache the results, testing in this PR with next commit if this works as expected.

NuGet 7.x dropped Mono support, causing a SIGABRT when vcpkg attempted
to initialise the NuGet binary cache on Linux. Replacing the NuGet
backend with vcpkg's built-in files backend provides the same caching
behaviour without any Mono or .NET dependency.

We can restore caching for CI using Githib actions/cache. Let me know if you want me to open a PR for the .github/actions/build.yml to cache between runs.
@ahmeij ahmeij requested a review from a team as a code owner March 31, 2026 20:22
@ahmeij ahmeij requested review from DmySyz and removed request for a team March 31, 2026 20:22
ahmeij added 3 commits March 31, 2026 22:24
Enable the x-gha vcpkg binary cache backend so compiled vcpkg packages
are reused across workflow runs instead of being rebuilt from scratch.

Derive VCPKG_TARGET_TRIPLET from runner.arch so the workflow works
correctly on both x64 and ARM64 self-hosted runners.
@ahmeij ahmeij marked this pull request as draft March 31, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant