forked from DLR-SE/riscv-coredsl-extensions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
36 lines (31 loc) · 857 Bytes
/
.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
image: ubuntu:20.04
stages: # List of stages for jobs, and their order of execution
- build
- deploy
before_script: #
- apt update && DEBIAN_FRONTEND=noninteractive apt install -y git && \
apt clean && rm -rf /var/lib/apt/lists/*
build_artifacts:
stage: build
script:
- rm -rf Extensions_Files
- mkdir -p Extension_Files
- cp *.core_desc *.yaml Extension_Files # Instead copy the modified files (both coreDSL and YAML)
artifacts:
paths:
- Extension_Files/*
expire_in: 1 Week
trigger_coredsl2tablegen:
stage: deploy
needs: [build_artifacts]
trigger:
project: scale4edge/coredsl2tablegen
branch: main
strategy: depend
trigger_tgc-vp:
stage: deploy
needs: [build_artifacts]
trigger:
project: scale4edge/tgc-vp
branch: b_scale4edge
strategy: depend