-
Notifications
You must be signed in to change notification settings - Fork 15
/
.gitlab-ci.yml
48 lines (44 loc) · 1.36 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
include: [component: $CI_SERVER_FQDN/lc-components/id_tokens/id_tokens-component@main]
variables:
CUSTOM_CI_BUILDS_DIR: "/usr/workspace/cloudgap/gitlab-runner"
BUILD_ROOT: ${CI_PROJECT_DIR}
stages:
- build
build_lassen_clang_10_0_1:
tags:
- batch
- lassen
stage: build
script:
- module load clang/10.0.1-gcc-8.3.1
- export PATH=/usr/tce/packages/gcc/gcc-8.3.1/bin:$PATH
- export HOSTNAME=`hostname`
- echo -e "Hostname:" ${HOSTNAME}
- cd src/c
- mkdir build-gitlab-lassen
- cd build-gitlab-lassen
- export HOST_CONFIG=`ls ../host-configs/lassen-4.14.0-ppc64le-clang@10.0.1-gcc@8.3.1.cmake`
- echo -e "HOST_CONFIG:" ${HOST_CONFIG}
- echo -e "PWD:" ${PWD}
- cmake -C ${HOST_CONFIG} -DCMAKE_INSTALL_PREFIX=../install-gitlab-lassen ..
- make VERBOSE=1
- make install
- cd ../install-gitlab-lassen/test
- unset LSB_JOBID LS_JOBPID # unset variables defined on a compute node
- ./t0001-cbinding-basic.t
build_lassen_python_3_8_2:
tags:
- batch
- lassen
stage: build
script:
- export HOSTNAME=`hostname`
- echo -e "Hostname:" ${HOSTNAME}
- source /usr/workspace/cloudgap/anaconda3/bin/activate
- which python
- python --version
- pip list | grep numba
- pip list | grep numpy
- cd src/python/test
- unset LSB_JOBID LS_JOBPID # unset variables defined on a compute node
- ./t0001-pybinding-basic.t