forked from darshan-hpc/darshan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
85 lines (67 loc) · 1.81 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
variables:
ANL_THETA_PROJECT_SERVICE_USER: "ecpcscstdm"
stages:
- build
- test
build_darshan:
tags:
- shell
- ecp-theta
rules:
- if: '$CI_PIPELINE_SOURCE == "web"'
when: always
- if: '$CI_PIPELINE_SOURCE == "schedules"'
when: always
- if: '$CI_COMMIT_REF_NAME == "master"'
when: always
stage: build
script:
- source darshan-test/automated/common/setup.sh
- source darshan-test/automated/theta/configure.sh
- source darshan-test/automated/common/build.sh
artifacts:
paths:
- install/
test_darshan_static:
tags:
- shell
- ecp-theta
rules:
- if: '$CI_PIPELINE_SOURCE == "web" && $RUN_TESTS == "true"'
when: on_success
- if: '$CI_PIPELINE_SOURCE == "schedules" && $RUN_TESTS == "true"'
when: on_success
stage: test
script:
- export CRAYPE_LINK_TYPE=static
- darshan-test/regression/run-all.sh $PWD/install $PWD/scratch cray-module-alcf
artifacts:
paths:
- $PWD/scratch/*.darshan
- $PWD/scratch/*.debuglog
- $PWD/scratch/*.out
- $PWD/scratch/*.err
resource_group: debug-queue
test_darshan_dynamic:
tags:
- shell
- ecp-theta
rules:
- if: '$CI_PIPELINE_SOURCE == "web" && $RUN_TESTS == "true"'
when: on_success
- if: '$CI_PIPELINE_SOURCE == "schedules" && $RUN_TESTS == "true"'
when: on_success
stage: test
script:
- export CRAYPE_LINK_TYPE=dynamic
- darshan-test/regression/run-all.sh $PWD/install $PWD/scratch cray-module-alcf
- ldd $PWD/scratch/mpi-io-test
- nm $PWD/scratch/mpi-io-test | grep darshan
- nm $PWD/scratch/mpi-io-test | grep MPI
artifacts:
paths:
- $PWD/scratch/*.darshan
- $PWD/scratch/*.debuglog
- $PWD/scratch/*.out
- $PWD/scratch/*.err
resource_group: debug-queue