-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitlab-ci.yml
68 lines (61 loc) · 1.54 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
centos_build:
stage: build
tags:
- centos
artifacts:
paths:
- ./openfpm_vcluster/build/src/vcluster_test
script:
- ./build.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS $CI_COMMIT_REF_NAME
centos_run:
needs: [centos_build]
stage: test
tags:
- centos
dependencies:
- centos_build
script:
- export OMP_NUM_THREADS=1
- ./run.sh $CI_PROJECT_DIR "$CI_RUNNER_TAGS" 3 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR "$CI_RUNNER_TAGS" 4 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR "$CI_RUNNER_TAGS" 5 $CI_COMMIT_REF_NAME
mac_build:
stage: build
tags:
- mac
artifacts:
paths:
- ./openfpm_vcluster/build/src/vcluster_test
script:
- ./build.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS $CI_COMMIT_REF_NAME
mac_run:
needs: [mac_build]
stage: test
tags:
- mac
dependencies:
- mac_build
script:
- ./run.sh $CI_PROJECT_DIR "$CI_RUNNER_TAGS" 3 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR "$CI_RUNNER_TAGS" 4 $CI_COMMIT_REF_NAME
ubuntu_build:
stage: build
tags:
- ubuntu
artifacts:
paths:
- ./openfpm_vcluster/build/src/vcluster_test
script:
- ./build.sh $CI_PROJECT_DIR $CI_RUNNER_TAGS $CI_COMMIT_REF_NAME
ubuntu_run:
needs: [ubuntu_build]
stage: test
tags:
- ubuntu
dependencies:
- ubuntu_build
script:
- export OMP_NUM_THREADS=1
- ./run.sh $CI_PROJECT_DIR "$CI_RUNNER_TAGS" 3 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR "$CI_RUNNER_TAGS" 4 $CI_COMMIT_REF_NAME
- ./run.sh $CI_PROJECT_DIR "$CI_RUNNER_TAGS" 5 $CI_COMMIT_REF_NAME