@@ -20,7 +20,7 @@ before_script:
20
20
build:aarch64-test-and-rebench :
21
21
stage : build-test
22
22
tags : [zullie1]
23
-
23
+
24
24
script :
25
25
- export PATH=/opt/local/bin:/opt/local/sbin:/Users/gitlab-runner/Library/Python/3.12/bin:${PATH}:${PYPY_BIN_DIR}
26
26
@@ -43,10 +43,9 @@ build:aarch64-test-and-rebench:
43
43
- SOM_INTERP=AST $RPYTHON --batch src/main_rpython.py
44
44
- ./som-ast-interp -cp Smalltalk TestSuite/TestHarness.som
45
45
- ./som-ast-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
46
-
47
- - (cd Examples/Benchmarks/TestSuite && ./duplicate-tests.sh)
46
+
47
+ - (cd Examples/Benchmarks/TestSuite && ./duplicate-tests.sh)
48
48
- rebench --experiment="CI ID $CI_PIPELINE_ID" --branch="$CI_COMMIT_REF_NAME" -c rebench.conf
49
-
50
49
51
50
build-and-test-interpreters :
52
51
stage : build-test
@@ -66,21 +65,20 @@ build-and-test-interpreters:
66
65
- ./som-bc-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
67
66
68
67
- export SOM_INTERP=AST
69
-
68
+
70
69
# Unit Tests
71
70
- PYTHONPATH=src python3 -m pytest
72
71
- ./som.sh -cp Smalltalk TestSuite/TestHarness.som
73
-
72
+
74
73
# Interpreter
75
74
- $RPYTHON --batch src/main_rpython.py
76
75
- ./som-ast-interp -cp Smalltalk TestSuite/TestHarness.som
77
76
- ./som-ast-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
78
77
79
-
80
78
# Package and Upload
81
79
- lz4 som-ast-interp som-ast-interp.lz4
82
80
- lz4 som-bc-interp som-bc-interp.lz4
83
-
81
+
84
82
- |
85
83
sftp tmp-artifacts << EOF
86
84
-mkdir incoming/${CI_PIPELINE_ID}/
@@ -94,7 +92,7 @@ build-and-test-jit-bc:
94
92
script :
95
93
- export PATH=$PATH:$PYPY_BIN_DIR
96
94
- export SOM_INTERP=BC
97
-
95
+
98
96
# JIT Compiled Version
99
97
- $RPYTHON --batch -Ojit src/main_rpython.py
100
98
- ./som-bc-jit -cp Smalltalk TestSuite/TestHarness.som
@@ -103,7 +101,7 @@ build-and-test-jit-bc:
103
101
104
102
# Package and Upload
105
103
- lz4 som-bc-jit som-bc-jit.lz4
106
-
104
+
107
105
- |
108
106
sftp tmp-artifacts << EOF
109
107
-mkdir incoming/${CI_PIPELINE_ID}/
@@ -116,7 +114,7 @@ build-and-test-jit-ast:
116
114
script :
117
115
- export PATH=$PATH:$PYPY_BIN_DIR
118
116
- export SOM_INTERP=AST
119
-
117
+
120
118
# JIT Compiled Version
121
119
- $RPYTHON --batch -Ojit src/main_rpython.py
122
120
- ./som-ast-jit -cp Smalltalk TestSuite/TestHarness.som
@@ -125,7 +123,7 @@ build-and-test-jit-ast:
125
123
126
124
# Package and Upload
127
125
- lz4 som-ast-jit som-ast-jit.lz4
128
-
126
+
129
127
- |
130
128
sftp tmp-artifacts << EOF
131
129
-mkdir incoming/${CI_PIPELINE_ID}/
@@ -134,13 +132,15 @@ build-and-test-jit-ast:
134
132
135
133
benchmark-y1 :
136
134
stage : benchmark
135
+ needs :
136
+ [build-and-test-interpreters, build-and-test-jit-bc, build-and-test-jit-ast]
137
137
tags : [yuria]
138
138
script :
139
139
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-jit.lz4
140
140
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-interp.lz4
141
141
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-jit.lz4
142
142
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-interp.lz4
143
-
143
+
144
144
- lz4 -d som-ast-jit.lz4 som-ast-jit
145
145
- lz4 -d som-ast-interp.lz4 som-ast-interp
146
146
- lz4 -d som-bc-jit.lz4 som-bc-jit
@@ -151,13 +151,15 @@ benchmark-y1:
151
151
152
152
benchmark-y2 :
153
153
stage : benchmark
154
+ needs :
155
+ [build-and-test-interpreters, build-and-test-jit-bc, build-and-test-jit-ast]
154
156
tags : [yuria2]
155
157
script :
156
158
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-jit.lz4
157
159
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-interp.lz4
158
160
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-jit.lz4
159
161
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-interp.lz4
160
-
162
+
161
163
- lz4 -d som-ast-jit.lz4 som-ast-jit
162
164
- lz4 -d som-ast-interp.lz4 som-ast-interp
163
165
- lz4 -d som-bc-jit.lz4 som-bc-jit
@@ -168,13 +170,15 @@ benchmark-y2:
168
170
169
171
benchmark-y3 :
170
172
stage : benchmark
173
+ needs :
174
+ [build-and-test-interpreters, build-and-test-jit-bc, build-and-test-jit-ast]
171
175
tags : [yuria3]
172
176
script :
173
177
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-jit.lz4
174
178
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-ast-interp.lz4
175
179
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-jit.lz4
176
180
- sftp tmp-artifacts:incoming/${CI_PIPELINE_ID}/som-bc-interp.lz4
177
-
181
+
178
182
- lz4 -d som-ast-jit.lz4 som-ast-jit
179
183
- lz4 -d som-ast-interp.lz4 som-ast-interp
180
184
- lz4 -d som-bc-jit.lz4 som-bc-jit
@@ -185,6 +189,8 @@ benchmark-y3:
185
189
186
190
report-completion :
187
191
stage : benchmark-completion
192
+ needs :
193
+ [benchmark-y1, benchmark-y2, benchmark-y3, build:aarch64-test-and-rebench]
188
194
tags : [yuria]
189
195
script :
190
196
- rebench --experiment="CI ID $CI_PIPELINE_ID" --report-completion rebench.conf
0 commit comments