This repository has been archived by the owner on Mar 22, 2019. It is now read-only.
forked from smarr/SOMns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
70 lines (60 loc) · 2.51 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
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 -Dskip.graal=true checkstyle
- ant -Dskip.graal=true eclipseformat-check
- timeout 5m ant -Dskip.graal=true unit-tests som-tests
kompos_and_dym_tests:
stage: full-test
tags: [benchmarks, infinity]
script:
- ant -Dskip.graal=true 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 -Dskip.graal=true replay-tests
benchmark_savina_job:
stage: benchmark
tags: [benchmarks, infinity]
allow_failure: true
script:
- ant -Dskip.graal=true 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 -Dskip.graal=true 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 -Dskip.graal=true 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 -Dskip.graal=true 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