Skip to content

Commit

Permalink
Merge pull request JuliaGPU#201 from JuliaGPU/tb/ci_debug
Browse files Browse the repository at this point in the history
CI improvements
  • Loading branch information
maleadt committed Jan 30, 2020
2 parents 187e55c + a7235e6 commit fc3ac2e
Showing 1 changed file with 37 additions and 16 deletions.
53 changes: 37 additions & 16 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,52 @@ julia:nightly:

platform:arm64:
extends:
- .julia:1.2
- .julia:1.3
- .test
tags:
- nvidia-arm64


# special tests

precompile:
extends:
- .julia:1.3
- .test
variables:
NVIDIA_VISIBLE_DEVICES: ''
NVIDIA_DRIVER_CAPABILITIES: ''
script:
- julia --project -e 'using Pkg;
Pkg.instantiate();
Pkg.build();
Pkg.API.precompile()'
- julia --project -e 'using CUDAdrv'

debug:
extends:
- .julia:1.3
- .test
tags:
- nvidia
variables:
JULIA_DEBUG: 'CUDAdrv'
script:
- julia --project -g2 -e 'using Pkg;
Pkg.instantiate();
Pkg.build();
Pkg.test(; coverage=true);'


# reverse tests

# NOTE: not using the Manifest (develop instead of instantiate) due to Pkg.jl#1423

cudanative:
image: nvidia/cuda:10.1-devel
extends: .julia:1.2
extends:
- .julia:1.3
- .test
tags:
- nvidia
script:
Expand All @@ -83,26 +116,14 @@ cudanative:

# other tasks

precompile:
extends: .julia:1.2
variables:
NVIDIA_VISIBLE_DEVICES: ''
NVIDIA_DRIVER_CAPABILITIES: ''
script:
- julia --project -e 'using Pkg;
Pkg.instantiate();
Pkg.build();
Pkg.API.precompile()'
- julia --project -e 'using CUDAdrv'

coverage:
extends:
- .julia:1.2
- .julia:1.3
- .coverage

documentation:
extends:
- .julia:1.2
- .julia:1.3
- .documentation
tags:
- nvidia
Expand Down

0 comments on commit fc3ac2e

Please sign in to comment.