GitLab CI for Julia GPU packages


#1

Hi all,

I’ve been testing GitLab CI/CD for GPU-related packages, and despite some missing features it’s been a good experience and I’ve replaced my Buildbot set-up with it. The main advantage is that there is no need for a central configuration, and packages can (much like with Travis) specify a .gitlab-ci.yml with all the relevant instructions to build/test/deploy packages.

As I’ve got some spare processing power, people with a need for GPUs are welcome to use my server for JuliaGPU related testing. It’s a 64-bit Linux-based server with a single GTX 1080p. I’ve documented the procedure to enable GitLab CI/CD + some basic testing template over at https://github.com/JuliaGPU/gitlab-ci. For more complicated examples, look at CUDAnative.jl/CUDAdrv.jl/LLVM.jl/CuArrays.jl/ClArrays.jl/Makie.jl


CI for GPU in Julia
#2

Thanks a lot for doing this @maleadt! This makes testing much easier and improves the stability of Julia’s GPU packages by quite a bit! :slight_smile:


#3

Is it possible to host a project on GitHub, and test it on GitLab? I have chuncks of code without test coverage because Travis CI doesn’t provide GPUs. Please let me know if you are aware of a solution.


#4

Tim has posted a step by step description:


#5

Thank you @sdanisch, will read it carefully. Good to know it is possible :slight_smile:


#6

The README might not have been clear, but GitLab CI isn’t tied to GitLab (although that integration is obviously the smoothest). As long as your package is reachable by git repository, you can add CI.