This repository has been archived by the owner on Dec 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitlab-ci.yml
61 lines (49 loc) · 2.04 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
stages:
- build-test-benchmark
variables:
PYTHONUNBUFFERED: "true"
PYPY_DIR: /home/gitlab-runner/.local/pypy2.7-v7.3.1-src
before_script:
- git submodule update --init
bc_build_test_benchmark_job:
stage: build-test-benchmark
tags: [benchmarks, infinity]
script:
# Setup
- export PYTHONPATH=$PYTHONPATH:$PYPY_DIR:src
- export RPYTHON=$PYPY_DIR/rpython/bin/rpython
- export PATH=$PATH:/home/gitlab-runner/.local/pypy2.7-v7.3.1-linux64/bin
- export SOM_INTERP=BC
# Unit Tests
- PYTHONPATH=src python3 -m pytest
- ./som.sh -cp Smalltalk TestSuite/TestHarness.som
# Interpreter
- $RPYTHON --batch src/main-rpython.py
- ./som-bc-interp -cp Smalltalk TestSuite/TestHarness.som
# JIT Compiled Version
- $RPYTHON --batch -Ojit src/main-rpython.py
- ./som-bc-jit -cp Smalltalk TestSuite/TestHarness.som
# Run Benchmarks
- rebench --experiment="CI ID $CI_PIPELINE_ID" --branch="$CI_COMMIT_REF_NAME" -c rebench.conf RPySOM e:RPySOM-bc-jit e:RPySOM-bc-interp
# - rebench --experiment="CI ID $CI_PIPELINE_ID" --report-completion rebench.conf
ast_build_test_benchmark_job:
stage: build-test-benchmark
tags: [benchmarks, infinity]
script:
# Setup
- export PYTHONPATH=$PYTHONPATH:$PYPY_DIR:src
- export RPYTHON=$PYPY_DIR/rpython/bin/rpython
- export PATH=$PATH:/home/gitlab-runner/.local/pypy2.7-v7.3.1-linux64/bin
- export SOM_INTERP=AST
# Unit Tests
- PYTHONPATH=src python3 -m pytest
- ./som.sh -cp Smalltalk TestSuite/TestHarness.som
# Interpreter
- $RPYTHON --batch src/main-rpython.py
- ./som-ast-interp -cp Smalltalk TestSuite/TestHarness.som
# JIT Compiled Version
- $RPYTHON --batch -Ojit src/main-rpython.py
- ./som-ast-jit -cp Smalltalk TestSuite/TestHarness.som
# Run Benchmarks
- rebench --experiment="CI ID $CI_PIPELINE_ID" --branch="$CI_COMMIT_REF_NAME" -c rebench.conf RPySOM e:RPySOM-ast-jit e:RPySOM-ast-interp
- rebench --experiment="CI ID $CI_PIPELINE_ID" --report-completion rebench.conf