[cmake-developers] Ubuntu CMake Repository Now Available

Kyle Edwards kyle.edwards at kitware.com
Mon Apr 8 10:46:58 EDT 2019


On Sat, 2019-04-06 at 10:56 +0200, Rolf Eike Beer wrote:
> Nice!
> 
> The magic spell for TravisCI is:
> 
> addons:
>   apt:
>     sources:
>       - sourceline: 'deb https://apt.kitware.com/ubuntu/ xenial main'
>         key_url: 'https://apt.kitware.com/keys/kitware-archive-2019.a
> sc'
>     packages:
>       - cmake
> 
> Or "trusty" if you still use the default distro.
> 
> Eike

Awesome! Thanks for the tip Eike!

Please keep in mind that we don't officially support Trusty (though
that doesn't necessarily mean the binaries won't work), and we don't
have a repository named "trusty" on our server, so I don't think
putting "trusty" in the source line will work.

Also, it now occurs to me that we should have a "latest" key so that
use cases like this don't have to change the URL every year. I have
just done this, so the key URL is now:

https://apt.kitware.com/keys/kitware-archive-latest.asc

Kyle


More information about the cmake-developers mailing list