Skip to content

Commit 89aa446

Browse files
committed
ci: organize jobs
1 parent 2118970 commit 89aa446

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.gitlab-ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ build_image:
132132
#========================== OBJECTS TESTS ====================================
133133

134134
test_data_structures:
135+
needs: []
135136
stage: test
136137
# Only run tests when source, tests, or packaging metadata changed.
137138
# Inherited by test_fs and test_fs-cg via `extends`.
@@ -159,13 +160,15 @@ test_data_structures:
159160
path: coverage.xml
160161

161162
test_decomp_objects:
163+
needs: [test_data_structures]
162164
extends:
163165
- test_data_structures
164166
variables:
165167
TEST_COVERAGE_SOURCE: pyrrha_mapper.mappers.decomp_objects
166168
TEST_PATH: tests/test_decomp_objects.py
167169

168170
test_decomp:
171+
needs: [test_decomp_objects]
169172
extends:
170173
- test_data_structures
171174
variables:
@@ -174,6 +177,7 @@ test_decomp:
174177

175178
#========================== MAPPERS TESTS ====================================
176179
test_fs:
180+
needs: [test_data_structures]
177181
extends:
178182
- test_data_structures
179183
artifacts:
@@ -189,6 +193,7 @@ test_fs:
189193
PYTEST_ARTIFACTS_DIR: test_artifacts
190194

191195
test_fs-cg_backend:
196+
needs: [build_image, test_fs]
192197
extends:
193198
- test_fs
194199
stage: test-backend
@@ -243,9 +248,10 @@ test_fs-cg_backend:
243248
- BACKEND: "ida"
244249
VERSION: [91, 93]
245250
- BACKEND: "ghidra"
246-
VERSION: ["12.0.4"]
251+
VERSION: ["12.0.4", "12.1"]
247252

248253
test_decomp_backend:
254+
needs: [build_image, test_decomp]
249255
extends:
250256
- test_fs-cg_backend
251257
variables:

0 commit comments

Comments
 (0)