-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitlab-ci.yml
61 lines (58 loc) · 1.7 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
stages:
- test
- coverage
# julia/1.6:
# stage: test
# tags:
# - bauerc-noctua
# variables:
# SCHEDULER_PARAMETERS: "-N 1 -n 1 -c 40 -t 00:15:00 -A pc2-mitarbeiter -p normal --exclusive"
# JULIA_NUM_THREADS: "10"
# only:
# - main
# - pushes
# - tags
# - external_pull_requests
# script:
# - /bin/bash -l
# - module load lang/Julia/1.6.2-linux-x86_64
# - julia --color=yes --project=. -e 'using Pkg; Pkg.build(verbose=true); Pkg.test();'
julia/1.8.3:
stage: test
tags:
- bauerc-noctua
variables:
SCHEDULER_PARAMETERS: "-N 1 -n 1 -c 40 -t 00:15:00 -A pc2-mitarbeiter -p normal --exclusive"
JULIA_NUM_THREADS: "10"
only:
- main
- pushes
- tags
- external_pull_requests
# needs:
# job: julia/1.6
script:
- /bin/bash -l
- module load lang/JuliaHPC/1.8.3-foss-2022a-CUDA-11.7.0
- julia --color=yes --project=. -e 'using Pkg; Pkg.build(verbose=true); Pkg.test();'
# we don't really want to test the package here (it's fine if tests are failing)
julia/1.8-coverage:
stage: coverage
tags:
- bauerc-noctua
variables:
SCHEDULER_PARAMETERS: "-N 1 -n 1 -c 40 -t 00:15:00 -A pc2-mitarbeiter -p normal --exclusive"
JULIA_NUM_THREADS: "10"
STREAM_VECTOR_LENGTH: "10000"
only:
- main
- pushes
- tags
- external_pull_requests
script:
- /bin/bash -l
- module load lang/JuliaHPC/1.8.3-foss-2022a-CUDA-11.7.0
- julia --color=yes --project=. -e 'using Pkg; Pkg.build(verbose=true); Pkg.test(; coverage = true);'
- julia --color=yes --project=test/coverage -e 'import Pkg; Pkg.instantiate()'
- julia --color=yes --project=test/coverage test/coverage/coverage.jl
allow_failure: true