diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-06-11 15:16:55 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-06-12 13:13:21 (GMT) |
commit | 2e7cefec03e580ea09c5479247d8d1991618e5ab (patch) | |
tree | ea24dff20ce94e6ce4092bd895d2a78dd1a517b8 /.gitlab | |
parent | 1a2961b8958e126f7ae6d6fe125bc4fb453f2de4 (diff) | |
download | CMake-2e7cefec03e580ea09c5479247d8d1991618e5ab.zip CMake-2e7cefec03e580ea09c5479247d8d1991618e5ab.tar.gz CMake-2e7cefec03e580ea09c5479247d8d1991618e5ab.tar.bz2 |
gitlab-ci: add a cuda10.2 builder
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/configure_cuda10.2_nvidia.cmake | 3 | ||||
-rw-r--r-- | .gitlab/ci/docker/cuda10.2/Dockerfile | 5 | ||||
-rwxr-xr-x | .gitlab/ci/docker/cuda10.2/install_deps.sh | 13 |
3 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_cuda10.2_nvidia.cmake b/.gitlab/ci/configure_cuda10.2_nvidia.cmake new file mode 100644 index 0000000..519699b --- /dev/null +++ b/.gitlab/ci/configure_cuda10.2_nvidia.cmake @@ -0,0 +1,3 @@ +set(CMake_TEST_CUDA "NVIDIA" CACHE STRING "") + +include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/docker/cuda10.2/Dockerfile b/.gitlab/ci/docker/cuda10.2/Dockerfile new file mode 100644 index 0000000..e0ea0e7 --- /dev/null +++ b/.gitlab/ci/docker/cuda10.2/Dockerfile @@ -0,0 +1,5 @@ +FROM nvidia/cuda:10.2-devel-ubuntu18.04 +MAINTAINER Ben Boeckel <ben.boeckel@kitware.com> + +COPY install_deps.sh /root/install_deps.sh +RUN sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/cuda10.2/install_deps.sh b/.gitlab/ci/docker/cuda10.2/install_deps.sh new file mode 100755 index 0000000..0d57cd3 --- /dev/null +++ b/.gitlab/ci/docker/cuda10.2/install_deps.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +apt-get update + +# Install development tools. +apt-get install -y \ + g++ \ + curl \ + git + +apt-get clean |