@@ -11,19 +11,48 @@ before_script:
11
11
- git submodule update --init
12
12
- ~/.asdf/bin/asdf install awfy pypysrc-2.7-v${PYPY_RELEASE}
13
13
- ~/.asdf/bin/asdf install python pypy2.7-${PYPY_RELEASE}
14
- - export PYPY_SRC_DIR=/data/home/gitlab-runner/.asdf/installs/awfy/pypysrc-2.7-v${PYPY_RELEASE}
15
- - export PYPY_BIN_DIR=/data/home/gitlab-runner/.asdf/installs/python/pypy2.7-${PYPY_RELEASE}/bin
14
+ - export PYPY_SRC_DIR=$HOME/.asdf/installs/awfy/pypysrc-2.7-v${PYPY_RELEASE}
15
+ - export PYPY_BIN_DIR=$HOME/.asdf/installs/python/pypy2.7-${PYPY_RELEASE}/bin
16
+ - export PROJECT_FOLDER=$(pwd)
17
+ - export PYTHONPATH=${PYTHONPATH}:${PYPY_SRC_DIR}:src
18
+ - export RPYTHON=${PYPY_SRC_DIR}/rpython/bin/rpython
19
+
20
+ build:aarch64-test-and-rebench :
21
+ stage : build-test
22
+ tags : [zullie1]
23
+
24
+ script :
25
+ - export PATH=/opt/local/bin:/opt/local/sbin:/Users/gitlab-runner/Library/Python/3.12/bin:${PATH}:${PYPY_BIN_DIR}
26
+
27
+ # BC JIT Compiled Version
28
+ - SOM_INTERP=BC $RPYTHON --batch -Ojit src/main_rpython.py
29
+ - ./som-bc-jit -cp Smalltalk TestSuite/TestHarness.som
30
+ - ./som-bc-jit -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
31
+
32
+ # AST JIT Compiled Version
33
+ - SOM_INTERP=AST $RPYTHON --batch -Ojit src/main_rpython.py
34
+ - ./som-ast-jit -cp Smalltalk TestSuite/TestHarness.som
35
+ - ./som-ast-jit -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
36
+
37
+ # BC Interpreter
38
+ - SOM_INTERP=BC $RPYTHON --batch src/main_rpython.py
39
+ - ./som-bc-interp -cp Smalltalk TestSuite/TestHarness.som
40
+ - ./som-bc-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
41
+
42
+ # AST Interpreter
43
+ - SOM_INTERP=AST $RPYTHON --batch src/main_rpython.py
44
+ - ./som-ast-interp -cp Smalltalk TestSuite/TestHarness.som
45
+ - ./som-ast-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
46
+
47
+ - (cd Examples/Benchmarks/TestSuite && ./duplicate-tests.sh)
48
+ - rebench --experiment="CI ID $CI_PIPELINE_ID" --branch="$CI_COMMIT_REF_NAME" -c rebench.conf
49
+
16
50
17
51
build-and-test-interpreters :
18
52
stage : build-test
19
53
tags : [yuria]
20
54
script :
21
- # Setup
22
- - export PROJECT_FOLDER=$(pwd)
23
- - export PYTHONPATH=$PYTHONPATH:$PYPY_SRC_DIR:src
24
- - export RPYTHON=$PYPY_SRC_DIR/rpython/bin/rpython
25
55
- export PATH=$PATH:$PYPY_BIN_DIR
26
-
27
56
- export SOM_INTERP=BC
28
57
- (cd Examples/Benchmarks/TestSuite && ./duplicate-tests.sh)
29
58
@@ -63,10 +92,6 @@ build-and-test-jit-bc:
63
92
stage : build-test
64
93
tags : [yuria2]
65
94
script :
66
- # Setup
67
- - export PROJECT_FOLDER=$(pwd)
68
- - export PYTHONPATH=$PYTHONPATH:$PYPY_SRC_DIR:src
69
- - export RPYTHON=$PYPY_SRC_DIR/rpython/bin/rpython
70
95
- export PATH=$PATH:$PYPY_BIN_DIR
71
96
- export SOM_INTERP=BC
72
97
@@ -89,10 +114,6 @@ build-and-test-jit-ast:
89
114
stage : build-test
90
115
tags : [yuria3]
91
116
script :
92
- # Setup
93
- - export PROJECT_FOLDER=$(pwd)
94
- - export PYTHONPATH=$PYTHONPATH:$PYPY_SRC_DIR:src
95
- - export RPYTHON=$PYPY_SRC_DIR/rpython/bin/rpython
96
117
- export PATH=$PATH:$PYPY_BIN_DIR
97
118
- export SOM_INTERP=AST
98
119
0 commit comments