Appveyor caching of dependencies -


i'm using extra-cmake-modules , clone on every build , install on every build.

https://github.com/snorenotify/snorenotify/blob/master/appveyor.yml#l15

it great if cache build don't need latest version on every push.

but documentation regarding caching doesn't offer similar example. scenario possible @ all?

cheers

you should clone repo if directory not exist:

- if not exist %appveyor_build_folder%\work\extra-cmake-modules git clone git://anongit.kde.org/extra-cmake-modules.git 

then define cache entry in appveyor.yml:

cache: - work\extra-cmake-modules -> appveyor.yml 

which means "cache work\extra-cmake-modules folder unless appveyor.yml changed".

hope helps.


Comments