-
Notifications
You must be signed in to change notification settings - Fork 30
/
.gitlab-ci.yml
90 lines (78 loc) · 2.83 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
stages:
- build-and-test
- benchmark
- full-test
- virtualbox-image
variables:
PYTHONUNBUFFERED: "true"
JVMCI_VERSION_CHECK: ignore
ECLIPSE_EXE: /home/gitlab-runner/.local/eclipse/eclipse
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64
before_script:
- git submodule update --init
build_and_test_job:
stage: build-and-test
tags: [benchmarks, infinity]
script:
- ant checkstyle
- ant eclipseformat-check
- timeout 5m ant unit-tests som-tests
kompos_and_dym_tests:
stage: full-test
tags: [benchmarks, infinity]
script:
- ant jacoco-lib compile dynamic-metrics-tests superinstructions-tests
- (cd tools/kompos && npm install . && npm -s run verify && npm test)
replay_tests:
stage: full-test
tags: [benchmarks, infinity]
script:
- timeout 10m ant replay-tests
snapshot_tests:
stage: full-test
tags: [benchmarks, infinity]
script:
- timeout 10m ant snapshot-tests
svm_tests:
stage: full-test
tags: [benchmarks, infinity]
script:
- ant native
benchmark_savina_job:
stage: benchmark
tags: [benchmarks, infinity]
allow_failure: true
script:
- ant compile
- export EXP=`if [[ "$CI_BUILD_REF_NAME" = "master" ]]; then echo "SOMns-Savina"; else echo "SOMns-Savina-exp"; fi`; rebench --without-nice -c --commit-id="$CI_BUILD_REF" --environment="`hostname` `cat /etc/issue | cut -d ' ' -f 1`" --project=SOMns-Savina --branch=master codespeed.conf $EXP
benchmark_job:
stage: benchmark
tags: [benchmarks, infinity]
allow_failure: true
script:
- ant compile
- export EXP=`if [[ "$CI_BUILD_REF_NAME" = "master" ]]; then echo "SOMns"; else echo "SOMns-exp"; fi`; rebench --without-nice -c --commit-id="$CI_BUILD_REF" --environment="`hostname` `cat /etc/issue | cut -d ' ' -f 1`" --project=SOMns --branch=master codespeed.conf $EXP
benchmark_interp_job:
stage: benchmark
tags: [benchmarks, infinity]
allow_failure: true
script:
- ant compile
- export EXP=`if [[ "$CI_BUILD_REF_NAME" = "master" ]]; then echo "SOMns-interp"; else echo "SOMns-interp-exp"; fi`; rebench --without-nice -c --commit-id="$CI_BUILD_REF" --environment="`hostname` `cat /etc/issue | cut -d ' ' -f 1`" --project=SOMns --branch=master codespeed.conf $EXP
benchmark_nightly_job:
stage: benchmark
tags: [benchmarks, infinity]
allow_failure: true
only:
- triggers
script:
- ant compile
- rebench --without-nice -c --commit-id="$CI_BUILD_REF" --environment="`hostname` `cat /etc/issue | cut -d ' ' -f 1`" --project=SOMns --branch=master codespeed.conf nightly
- rebench --without-nice -c --commit-id="$CI_BUILD_REF" --environment="`hostname` `cat /etc/issue | cut -d ' ' -f 1`" --project=SOMns --branch=master codespeed.conf SOMns-Savina-tracing
build_virtualbox:
stage: virtualbox-image
tags: [benchmarks, infinity]
only:
- triggers
script:
- artifact/virtualbox.sh