forked from LLNL/conduit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
47 lines (39 loc) · 1.22 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
##############################################################################
# Copyright (c) 2014-20, Lawrence Livermore National Security, LLC and Conduit
# project contributors. See the COPYRIGHT file for details.
##############################################################################
variables:
GIT_SUBMODULE_STRATEGY: recursive
INSTALL_ROOT: ${CI_BUILDS_DIR}/${CI_PROJECT_NAME}/${CI_COMMIT_REF_SLUG}_${CI_PIPELINE_ID}/uberenv_libs
SPACK_UPSTREAM: /usr/workspace/radiuss/spack-chain-parent/opt/spack
SPACK_MIRROR: /usr/workspace/radiuss/mirrors/conduit
stages:
- deps
- install
#########
# SCRIPTS
#########
# Define the generic script
.build_script:
script:
- scripts/ci/build-on-lc.sh
# Build modes templates:
# A job will have one on this template to pilot the behavior of def_uberenv_cmd
.mode_deps:
stage: deps
variables:
UBERENV_INSTALL: "OFF"
.mode_install:
stage: install
variables:
UBERENV_INSTALL: "ON"
##########
# INCLUDES
##########
# This is where templates and jobs are included
include:
- local: .gitlab/toolchains_templates.yml
- local: .gitlab/quartz_templates.yml
- local: .gitlab/quartz_jobs.yml
- local: .gitlab/lassen_templates.yml
- local: .gitlab/lassen_jobs.yml