From e83fd1c21a5479ae653f164c06a2b68561cbaa4e Mon Sep 17 00:00:00 2001 From: Hendrik Ranocha Date: Sat, 22 Feb 2020 14:01:55 +0300 Subject: [PATCH] update gitlab tests --- .gitlab-ci.yml | 50 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 05812f2..d20860d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,26 +10,40 @@ before_script: - apt-get update && apt-get install -y cmake clang include: - - 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v0/common.yml' - - 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v0/test_v0.7.yml' - - 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v0/test_v1.0.yml' - - 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v0/test_dev.yml' + - 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v6.yml' + #- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v0/common.yml' + #- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v0/test_v0.7.yml' + #- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v0/test_v1.0.yml' + #- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v0/test_dev.yml' #- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v0/postprocess_coverage.yml' #- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v0/postprocess_documentation.yml' -test:v0.6: - stage: test - image: "juliagpu/julia:v0.6-${CI_IMAGE_TAG}" - script: - - julia -e 'versioninfo()' - - julia -e "Pkg.init(); - symlink(\"$CI_PROJECT_DIR\", Pkg.dir(\"$package\")); - Pkg.resolve(); - Pkg.build(\"$package\"); - Pkg.test(\"$package\")" - -test:v1.0: - allow_failure: true +image: ubuntu:bionic + +variables: + JULIA_DEBUG: 'CLBlast' + JULIA_CUDA_VERBOSE: 'true' + NVIDIA_VISIBLE_DEVICES: 'all' + NVIDIA_DRIVER_CAPABILITIES: 'all' -test:dev: +julia:1.3: + extends: + - .julia:1.3 + - .test + tags: + - nvidia + - sm_75 + variables: + CI_THOROUGH: 'true' + +julia:nightly: + extends: + - .julia:nightly + - .test + tags: + - nvidia + - sm_75 + variables: + CI_THOROUGH: 'true' allow_failure: true +