Hello. Attempting to set up my project with Pipelines. Out setup process has always used cmake to allow it to be used on multiple platforms easily. However, cmake does not appear to be installed on the servers, nor can I apt-get cmake in my script without the the build seeming to freeze / go on forever.
apt-get update -y
apt-get install cmake
Even if this did work I wouldn't find it very effective since it has to install cmake every time..Any advice? Should I try to migrate to a standard make for pipelines? CMake is basically integral to our software and I really would rather not go through changing. I'd also like to run pipelines exactly how our software is ran with cmake.
I have been able to do a wget to get a tar file for cmake and i'm working on unpackaging and installing it etc. Would be more ocnvenient to hvaea cmake as software out of the box. Does this involve a custom image?
Thanks for reading, would love feedback
found the answer...if anyone else needs help:
Hey Adam, it looks like the approach you found still has to download Cmake and dependencies every time the pipeline is invoked. So that did not fix the efficiency problem.
I would go with the DokkerHub approach referenced here https://bitbucket.org/site/master/issues/13404/add-an-example-cmake-configuration-file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.