forked from smarr/SOMns
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
63 lines (55 loc) · 2.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
stages:
- build-and-test
- benchmark
- full-test
variables:
PYTHONUNBUFFERED: "true"
JVMCI_BIN: /home/gitlab-runner/.local/graal-core/bin/java
JVMCI_VERSION_CHECK: ignore
ECLIPSE_EXE: /home/gitlab-runner/.local/eclipse/eclipse
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
full_test_job:
stage: full-test
tags: [benchmarks, infinity]
script:
- timeout 10m ant dynamic-metrics-tests replay-tests
- cd tools/kompos && npm install && npm -s run verify && npm test
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 -d --without-nice -c --commit-id="$CI_BUILD_REF" --environment="Infinity Ubuntu" --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 -d --without-nice -c --commit-id="$CI_BUILD_REF" --environment="Infinity Ubuntu" --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 -d --without-nice -c --commit-id="$CI_BUILD_REF" --environment="Infinity Ubuntu" --project=SOMns --branch=master codespeed.conf $EXP
benchmark_nightly_job:
stage: benchmark
tags: [benchmarks, infinity]
allow_failure: true
only:
- triggers
script:
- ant compile
- rebench -d --without-nice -c --commit-id="$CI_BUILD_REF" --environment="Infinity Ubuntu" --project=SOMns --branch=master codespeed.conf nightly
- rebench -d --without-nice -c --commit-id="$CI_BUILD_REF" --environment="Infinity Ubuntu" --project=SOMns --branch=master codespeed.conf SOMns-Savina-tracing