-
Notifications
You must be signed in to change notification settings - Fork 218
Fix or replace AppVeyor bottleneck #1063
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
Comments
@Gabriel439 i am afraid that azure still doesn't support caching between builds so each one would take longer. |
AppVeyor doesn't seem to be doing any caching either... It's downloading everything again for each build. Switching to azure is probably not going to make things worse ;) |
What is AppVeyor used for? |
@EggBaconAndSpam withouth caching it takes 40+ mins instead 15+! |
But i agree in change the ci to azure, you have unlimited build time and you can build using linux, mac and windows. |
Could this now be done using haskell.nix cross compilation to Windows on Hydra? |
Whoa, Nice! |
@ocharles: I took a look at that a while back. The main issue was that the Windows cross-compilation support doesn't appear work with the static Haskell executables work from NixOS/nixpkgs#43795 (which is Linux-specific) |
Currently AppVeyor takes ~35 to 45 minutes per build. I believe much of that time is spent on re-building dependencies that I wish would be cached. I've tried to look around for projects with a working cache setup, but I couldn't find one. :( |
The appveyor builds for It doesn't look like the |
Thanks for the help @joneshf! I'll try to copy a few things from
It seems to me that updating the cache may be limited to builds on |
* This might fix a syntax problem: https://www.appveyor.com/docs/build-cache/#configuring-cache-items says: Note the use of single quotes around the entire line, when environment variables are used. * This adds the AppVeyor config to the files which invalidate the cache when changed. Context: #1063.
* This might fix a syntax problem: https://www.appveyor.com/docs/build-cache/#configuring-cache-items says: Note the use of single quotes around the entire line, when environment variables are used. * This adds the AppVeyor config to the files which invalidate the cache when changed. Context: #1063.
After #1207 and #1214 AppVeyor builds typically take 10-11 minutes now. The main problem seems to have been that we got the syntax for the cache rules wrong! |
shakes fist at YAML |
Right now AppVeyor is severely limiting the rate at which we can merge pull requests because each revision it builds takes ~30 minutes and it can only build one revision at a time.
One possible solution is to replace AppVeyor with Azure DevOps since the latter supports up to 10 concurrent builds free for open source projects
The text was updated successfully, but these errors were encountered: