Can I save a custom Windows executor with dependencies installed?

Hi all,

Thanks in advance for any help you can provide.

I’ve built a CircleCI workflow that includes building a Qt app for Windows. The job runs successfully and we’ve incorporated it into our workflow.

Installing Visual Studio 2015 with the necessary components and Qt takes ~30 and ~7 minutes, respectively.

I don’t think this is the right use case for cached dependencies (especially given the 500Mb disk space restriction). If this were a Docker image, I’d create a new image with the dependencies installed and push it to Dockerhub. Is there any way to do something similar with a Windows image? Ideally, I’d be able to clone my project(s) into a Windows image that has all of my dependencies (VS2015 and Qt primarily) preinstalled to speed up the whole job.

Kody

Hi @Kody94 , Did you find a solution? I’m also facing similar challenges with a custom Windows Docker image not working in CircleCI.

I never figured out how to cache dependencies – I ended up installing dependencies on each run of the pipeline. I would not expect Windows Docker image to work, but a Windows executor https://circleci.com/docs/using-windows/

I ended up going with Felgo Cloud Build for building my Qt app on Windows.