-
Notifications
You must be signed in to change notification settings - Fork 54
/
.gitlab-ci.yml
43 lines (39 loc) · 1.36 KB
/
.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
37
38
39
40
41
42
43
stages:
- build
- test
- check
include:
# Issue check and pre-commit
- component: $CI_SERVER_FQDN/eng/gitlab-templates/check-issue@~latest
- component: $CI_SERVER_FQDN/eng/gitlab-templates/pre-commit@~latest
# Build
- component: $CI_SERVER_FQDN/eng/gitlab-templates/build@~latest
inputs:
anod-args: run build_$ACI_TRACK --latest
cpus: 16
image: systemgtk
save-component: true
# Testing
- component: $CI_SERVER_FQDN/eng/gitlab-templates/test@~latest
inputs:
job-name: gs
# --latest should not be used here because it causes Anod to re-download
# components from Cathod instead of using the ones built in this pipeline
# by the build job.
anod-args: run test_$ACI_TRACK
image: systemgtk
generic-anod-ci-args: --add-dep eng/ide/gnatstudio-internal
# Integration testsuite
- component: $CI_SERVER_FQDN/eng/gitlab-templates/test@~latest
inputs:
job-name: integration-testsuite
# --latest should not be used here because it causes Anod to re-download
# components from Cathod instead of using the ones built in this pipeline
# by the build job.
anod-args: run test_integration_testsuite
image: systemgtk
cpus: 4
disk: 80
rules:
# Does not work on edge
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_TARGET_BRANCH_NAME != 'edge'