Skip to content
This repository was archived by the owner on Mar 12, 2021. It is now read-only.

Commit 3c12fd8

Browse files
authored
Merge pull request #578 from JuliaGPU/tb/ci_debug
Debug job for CI
2 parents e6134ef + e968c24 commit 3c12fd8

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

.gitlab-ci.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,30 @@ pool:split:
102102
CUARRAYS_MEMORY_POOL: 'split'
103103

104104
precompile:
105-
extends: .julia:1.3
105+
extends:
106+
- .julia:1.3
107+
- .test
106108
image: ubuntu:bionic
107109
script:
108-
- julia -e 'using InteractiveUtils;
109-
versioninfo()'
110110
- julia --project -e 'using Pkg;
111111
Pkg.instantiate();
112112
Pkg.build();
113113
Pkg.API.precompile()'
114114

115+
debug:
116+
extends:
117+
- .julia:1.3
118+
- .test
119+
tags:
120+
- nvidia
121+
variables:
122+
JULIA_DEBUG: 'CuArrays'
123+
script:
124+
- julia --project -g2 -e 'using Pkg;
125+
Pkg.instantiate();
126+
Pkg.build();
127+
Pkg.test(; coverage=true);'
128+
115129

116130
# reverse tests
117131

@@ -120,7 +134,9 @@ precompile:
120134
# that means we have to manually install Flux' test dependencies though.
121135

122136
flux:
123-
extends: .julia:1.3
137+
extends:
138+
- .julia:1.3
139+
- .test
124140
tags:
125141
- nvidia
126142
script:

0 commit comments

Comments
 (0)