From 6e8f8c1f46fc17ca612bf68dba287ad699d16b2c Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Mon, 4 Nov 2019 15:40:28 +0100 Subject: [PATCH] Use latest GPU CI templates. --- .gitlab-ci.yml | 64 ++++++++++++++++++++------------------------------ 1 file changed, 25 insertions(+), 39 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ca44819aca..3b87749f03 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,41 +1,27 @@ -before_script: - - export CI_DISABLE_CURNN_TEST=true - -variables: - CI_IMAGE_TAG: 'cuda' - include: - - 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v4/common.yml' - -.flux: - extends: .test - script: - - julia -e 'using InteractiveUtils; - versioninfo()' - - mkdir $JULIA_DEPOT_PATH # Pkg3.jl#325 - - julia --project -e 'using Pkg; - Pkg.instantiate(); - Pkg.build(); - Pkg.test(; coverage=true);' - -test:v1.2: - extends: .flux - variables: - CI_VERSION_TAG: 'v1.2' - -test:v1.3: - extends: .flux - variables: - CI_VERSION_TAG: 'v1.3' - -test:v1.0: - extends: .flux - variables: - CI_VERSION_TAG: 'v1.0' - -test:dev: - extends: .flux - variables: - CI_VERSION_TAG: 'dev' - + - 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v6.yml' + +image: nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04 + + +julia:1.2: + extends: + - .julia:1.2 + - .test + tags: + - nvidia + +julia:1.3: + extends: + - .julia:1.3 + - .test + tags: + - nvidia + +julia:nightly: + extends: + - .julia:nightly + - .test + tags: + - nvidia allow_failure: true