diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ca44819a..3b87749f 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' + - 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v6.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);' +image: nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04 -test:v1.2: - extends: .flux - variables: - CI_VERSION_TAG: 'v1.2' -test:v1.3: - extends: .flux - variables: - CI_VERSION_TAG: 'v1.3' +julia:1.2: + extends: + - .julia:1.2 + - .test + tags: + - nvidia -test:v1.0: - extends: .flux - variables: - CI_VERSION_TAG: 'v1.0' - -test:dev: - extends: .flux - variables: - CI_VERSION_TAG: 'dev' +julia:1.3: + extends: + - .julia:1.3 + - .test + tags: + - nvidia +julia:nightly: + extends: + - .julia:nightly + - .test + tags: + - nvidia allow_failure: true