Skip to content

Commit

Permalink
update gitlab tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Feb 22, 2020
1 parent 0eb5168 commit e83fd1c
Showing 1 changed file with 32 additions and 18 deletions.
50 changes: 32 additions & 18 deletions .gitlab-ci.yml
Expand Up @@ -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

0 comments on commit e83fd1c

Please sign in to comment.