-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy path.gitlab-ci.yml
55 lines (48 loc) · 1.09 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
44
45
46
47
48
49
50
51
52
53
54
55
include:
- project: eng/gpr/gpr-issues
file: /.gitlab/.gitlab-ci-shared.yml
stages:
- build
- test
build:
extends: .job_template
stage: build
script:
# Build using anod
- anod build gnat
# and save the gprbuild install
- tar czf $CI_PROJECT_DIR/gprbuild.tar.gz -C $SANDBOX/$HOST/gprbuild/ install/
artifacts:
paths:
- gprbuild.tar.gz
debug_build:
extends: .job_template
stage: build
script:
# build gprbuild in debug mode without rebuilding dependencies,
# so we can catch coding style errors.
- anod build gprbuild -Qdbg
test_gprbuild:
extends: .test_template
script:
- install_packages gnatall
- run_testsuite gprbuild "" test_gprbuild
artifacts:
when:
always
paths:
- testgprbuild_result.xml
reports:
junit: testgprbuild_result.xml
test_gpr2ls:
extends: .test_template
script:
- install_packages gnatall
- run_testsuite gprbuild "-Qcheck-gpr2ls" test_gpr2ls
artifacts:
when:
always
paths:
- testgpr2ls_result.xml
reports:
junit: testgpr2ls_result.xml