Skip to content

Commit 5d3af96

Browse files
author
Yvan Tortorella
committed
Mod CI script to specify stage dependencies.
1 parent 9873be0 commit 5d3af96

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,12 @@ init:
2222
artifacts:
2323
when: always
2424
expire_in: 1 week
25-
paths:
26-
- ./golden-model/venv
25+
paths: [./golden-model/venv]
2726

2827
.redmule-build-tpl:
2928
extends: .base
3029
stage: build
31-
dependencies:
32-
- init
30+
needs: [init]
3331
script:
3432
- SETUP_CONFIG=${SETUP_CONFIG}
3533
- source scripts/${SETUP_CONFIG}.sh
@@ -38,10 +36,7 @@ init:
3836
artifacts:
3937
when: always
4038
expire_in: 1 week
41-
paths:
42-
- ./.bender
43-
- ./scripts/compile.tcl
44-
- ./vsim/*
39+
paths: [./.bender, ./scripts/compile.tcl, ./vsim/*]
4540

4641
redmule-build-hwpe:
4742
extends: .redmule-build-tpl
@@ -56,6 +51,7 @@ redmule-build-complex:
5651
.redmule-vsim-tpl:
5752
extends: .base
5853
stage: test
54+
needs: [build]
5955
script:
6056
- SETUP_CONFIG=${SETUP_CONFIG}
6157
- source scripts/${SETUP_CONFIG}.sh

0 commit comments

Comments
 (0)