Speeding up builds

trevor.linton's Avatar

trevor.linton

07 Apr, 2015 05:14 AM

I'm using the unstable version of appveyor as I need a UI to run automated tests that take control of the UI/Mouse/Keyboard, i'm having difficulties getting my build down under the 40min limit.

As you can see from the project: https://ci.appveyor.com/project/trevorlinton/tint2 it seems to hit the limit around 80% of the time, although at times it jumps to under 30 minutes!

My local VM with 1Ghz and 1GB of ram is able to complete the entire build in under 5 minutes, and the unit tests in 1. I'm curious if AppVeyor has any advice on what i can do to increase the build time without having to resort to caching object files (and isn't realistic as they're more than 100MB of object files). I've tried minor fixes such as only cloning the git repo 2 levels deep, and tried fetching the zip file rather than git but to no avail.

I should note i've used /MP /p:BuildInParallel, /MaxCpuCount:X to speed up builds and its had a varying level of success..

  1. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:55 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac