-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix MinGW CI failures #3618
Fix MinGW CI failures #3618
Conversation
Attempt to workaround recent, frequent failures of the MinGW jobs by installing an internalized Chocolatey package hosted on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
|
Yes. It requires either a Also, you can try to download the file in your browser. You'll be greeted by a login prompt.
I started with the Chocolatey guide for internalizing packages which uses both Chocolatey ( In case you want to be able to recreate these steps, you'd be in for quite a bit of work. Luckily, the package can in fact be created without these tools, and by using the official This is only relevant if you want to create and host these packages yourself. |
Thanks for clarifying. I currently don't plan to host them myself. |
Attempt to workaround recent, frequent failures of the MinGW jobs by installing an internalized Chocolatey package hosted on GitHub.
NuGet package hosted here: https://github.com/falbrechtskirchinger/json/packages/1564692
I've since figured out how to create and upload a package without using Chocolatey and NuGet.
https://community.chocolatey.org/packages/mingw/8.1.0
(Gray download button at the bottom of the left sidebar.)
mingw.8.1.0.nupkg
.tools/chocolateyinstall.ps1
in an editor.tools/
folder.(Don't forget the line defining
$toolsDir
.)6) Zip the directory and rename it to
*.nupkg
. (Note that not all programs produce a ZIP file that Microsoft's implementation can read. I successfully used my command linezip
tool from http://www.info-zip.org/.)7) Upload to nuget.org.
8) The package can now be downloaded from here: https://www.nuget.org/api/v2/package/mingw/8.1.0
Optionally, it might be a good idea to change the package ID.
mingw.nuspec
.<id>
element value as desired, e.g.nlohmann-json.mingw
.*.nuspec
file name has to match. Maybe rename it to the ID, to be safe.