dont test with CUDA masters
This commit is contained in:
parent
d2ce3f304f
commit
438b31a138
|
@ -2,55 +2,27 @@ variables:
|
||||||
CI_IMAGE_TAG: 'cuda'
|
CI_IMAGE_TAG: 'cuda'
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v1/common.yml'
|
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v3/common.yml'
|
||||||
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v1/test_v1.0.yml'
|
|
||||||
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v1/test_dev.yml'
|
|
||||||
|
|
||||||
test:v1.0:
|
.flux:
|
||||||
stage: test
|
extends: .test
|
||||||
image: "juliagpu/julia:v1.0-${CI_IMAGE_TAG}"
|
|
||||||
script:
|
script:
|
||||||
- julia -e 'using InteractiveUtils;
|
- julia -e 'using InteractiveUtils;
|
||||||
versioninfo()'
|
versioninfo()'
|
||||||
- mkdir $JULIA_DEPOT_PATH # Pkg3.jl#325
|
- mkdir $JULIA_DEPOT_PATH # Pkg3.jl#325
|
||||||
- julia -e 'using Pkg;
|
- julia -e 'using Pkg;
|
||||||
Pkg.add("CuArrays");'
|
Pkg.add("CuArrays");'
|
||||||
|
|
||||||
- julia --project -e 'using Pkg;
|
- julia --project -e 'using Pkg;
|
||||||
Pkg.instantiate();
|
Pkg.instantiate();
|
||||||
Pkg.build();
|
Pkg.build();
|
||||||
Pkg.test(; coverage=true);'
|
Pkg.test(; coverage=true);'
|
||||||
|
|
||||||
test:master:
|
test:v1.0:
|
||||||
stage: test
|
extends: .flux
|
||||||
image: "juliagpu/julia:v1.0-${CI_IMAGE_TAG}"
|
variables:
|
||||||
script:
|
CI_VERSION_TAG: 'v1.0'
|
||||||
- julia -e 'using InteractiveUtils;
|
|
||||||
versioninfo()'
|
|
||||||
- mkdir $JULIA_DEPOT_PATH # Pkg3.jl#325
|
|
||||||
- julia -e 'using Pkg;
|
|
||||||
Pkg.add(PackageSpec(name = "CUDAapi", rev = "master"));
|
|
||||||
Pkg.add(PackageSpec(name = "CUDAdrv", rev = "master"));
|
|
||||||
Pkg.add(PackageSpec(name = "CUDAnative", rev = "master"));
|
|
||||||
Pkg.add(PackageSpec(name = "CuArrays", rev = "master"));'
|
|
||||||
|
|
||||||
- julia --project -e 'using Pkg
|
test:v1.1:
|
||||||
Pkg.instantiate();
|
extends: .flux
|
||||||
Pkg.build();
|
variables:
|
||||||
Pkg.test(; coverage=true);'
|
CI_VERSION_TAG: 'v1.1'
|
||||||
allow_failure: true
|
|
||||||
|
|
||||||
artifacts:
|
|
||||||
when: always
|
|
||||||
paths:
|
|
||||||
- Manifest.toml
|
|
||||||
- .julia/
|
|
||||||
- deps/ext.jl
|
|
||||||
- deps/build.log
|
|
||||||
# gitlab-runner#2620
|
|
||||||
- src/*.cov
|
|
||||||
- src/*/*.cov
|
|
||||||
- src/*/*/*.cov
|
|
||||||
|
|
||||||
test:dev:
|
|
||||||
allow_failure: true
|
|
||||||
|
|
Loading…
Reference in New Issue