Use latest GPU CI templates.

This commit is contained in:
Tim Besard 2019-11-04 15:40:28 +01:00
parent 916d3dabbd
commit 6e8f8c1f46
1 changed files with 20 additions and 34 deletions

View File

@ -1,41 +1,27 @@
before_script:
- export CI_DISABLE_CURNN_TEST=true
variables:
CI_IMAGE_TAG: 'cuda'
include: 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: image: nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
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: julia:1.2:
extends: .flux extends:
variables: - .julia:1.2
CI_VERSION_TAG: 'v1.3' - .test
tags:
- nvidia
test:v1.0: julia:1.3:
extends: .flux extends:
variables: - .julia:1.3
CI_VERSION_TAG: 'v1.0' - .test
tags:
test:dev: - nvidia
extends: .flux
variables:
CI_VERSION_TAG: 'dev'
julia:nightly:
extends:
- .julia:nightly
- .test
tags:
- nvidia
allow_failure: true allow_failure: true