-
Notifications
You must be signed in to change notification settings - Fork 127
/
Copy pathgitlab-ci-spack.yml
130 lines (114 loc) · 3.32 KB
/
gitlab-ci-spack.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# This file is used to define the GitLab CI/CD pipeline for the ADIOS2 project.
default:
interruptible: true
tags:
- medium
- uo
- public
- x86_64
# This file is used to define the GitLab CI/CD pipeline for the ADIOS2 project.
.common-sanitizer:
rules:
- if: '$CI_PIPELINE_SOURCE != "schedule"'
when: on_success
- when: never
variables:
GITLAB_SITE: "UO CI (gitlab.spack.io)"
CI_BIN_DIR: "$CI_PROJECT_DIR/build"
.common-build:
extends:
- .common-sanitizer
stage: build
script:
- bash scripts/ci/gitlab-ci/run.sh update
- bash scripts/ci/gitlab-ci/run.sh configure
- bash scripts/ci/gitlab-ci/run.sh build
artifacts:
expire_in: 1 hours
when: always
paths:
- $CI_BIN_DIR/bin/
- $CI_BIN_DIR/lib/
- $CI_BIN_DIR/lib64/
- $CI_BIN_DIR/thirdparty/**/lib64/
- $CI_BIN_DIR/testing/
- $CI_BIN_DIR/source/**/*.h
- $CI_BIN_DIR/source/**/*.in
- $CI_BIN_DIR/adios2_reorganize_wrapper
# CTest and CMake install files.
- $CI_BIN_DIR/CMakeCache.txt
- $CI_BIN_DIR/**/*.cmake
- $CI_BIN_DIR/Testing/
# CDash files.
- $CI_BIN_DIR/DartConfiguration.tcl
.common-test:
extends:
- .common-sanitizer
stage: test
script:
- bash scripts/ci/gitlab-ci/run.sh memcheck
#===============================================================================
build:uo-sanitizer-asan:
image: ghcr.io/ornladios/adios2:ci-opensuse-tw-asan-20241205
extends: [.common-build]
build:uo-sanitizer-msan:
image: ghcr.io/ornladios/adios2:ci-opensuse-tw-msan-20241205
extends: [.common-build]
build:uo-sanitizer-tsan:
image: ghcr.io/ornladios/adios2:ci-opensuse-tw-tsan-20241205
extends: [.common-build]
build:uo-sanitizer-ubsan:
image: ghcr.io/ornladios/adios2:ci-opensuse-tw-ubsan-20241205
extends: [.common-build]
test:uo-sanitizer-asan:
image: ghcr.io/ornladios/adios2:ci-opensuse-tw-asan-20241205
extends: [.common-test]
needs: [build:uo-sanitizer-asan]
test:uo-sanitizer-msan:
image: ghcr.io/ornladios/adios2:ci-opensuse-tw-msan-20241205
extends: [.common-test]
needs: [build:uo-sanitizer-msan]
test:uo-sanitizer-tsan:
image: ghcr.io/ornladios/adios2:ci-opensuse-tw-tsan-20241205
extends: [.common-test]
needs: [build:uo-sanitizer-tsan]
test:uo-sanitizer-ubsan:
image: ghcr.io/ornladios/adios2:ci-opensuse-tw-ubsan-20241205
extends: [.common-test]
needs: [build:uo-sanitizer-ubsan]
deploy:sync-ornl:
environment: ornl
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: on_success
- when: never
image: ornladios/adios2:sync-20241206-b
script: >
.gitlab/config/SpackCIBridge.py
ornladios/ADIOS2
[email protected]:ecpcitest/adios2.git
https://code.ornl.gov/
ecpcitest/adios2
--prereq-check=format
--prereq-check=git_checks
--disable-status-post
dependencies: []
needs: []
deploy:sync-spack:
environment: spackio
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: on_success
- when: never
image: ornladios/adios2:sync-20241206-b
script: >
.gitlab/config/SpackCIBridge.py
ornladios/ADIOS2
[email protected]:adios2/adios2.git
https://gitlab.spack.io/
adios2/ADIOS2
--prereq-check=format
--prereq-check=git_checks
--status-context="Frank CI (sanitizers)"
dependencies: []
needs: []