-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
45 lines (44 loc) · 996 Bytes
/
.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
build-job:
stage: build
variables:
COMPILER: 'gcc/8.3.1'
CUDA_ARCH: 'sm_70'
CUDA_VER: '11.2.0'
CUDA_PATH: '/usr/tce/packages/cuda/cuda-${CUDA_VER}'
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_DEPTH: 1
tags:
- lassen
- shell
script:
- bash
- module swap xl ${COMPILER}
- cat ~/.bashrc
- source ~/.bashrc
- source /usr/workspace/ruys1/mambaforge/etc/profile.d/mamba.sh
- echo "hello world!"
- module list
- which conda
- which mamba
- which python
- mamba activate parla
- make clean
- CC=gcc CXX=g++ make
test-job:
stage: test
tags:
- lassen
- shell
script:
- bash
- module swap xl ${COMPILER}
- cat ~/.bashrc
- source ~/.bashrc
- source /usr/workspace/ruys1/mambaforge/etc/profile.d/mamba.sh
- echo "hello world!"
- module list
- which conda
- which mamba
- which python
- mamba activate parla
- lalloc 1 -q pdebug pytest testing/python