-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
47 lines (38 loc) · 847 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
37
38
39
40
41
42
43
44
45
46
47
image: cybik/anglestrap:latest
stages:
- build
.build_def: &build_definition
stage: build
artifacts:
paths:
- angle/out/*/lib*.so
- angle/out/*/args.gn
- angle/include
before_script:
- ./prep-gitlab.sh
.build_def_normal: &build_definition_normal
<<: *build_definition
script: |
echo "Buildstrapping for ${TARGET}";
./buildstrap.sh ${TARGET} linux;
.build_def_ggp: &build_definition_ggp
<<: *build_definition
script: |
echo "Buildstrapping for ${TARGET} ggp";
./buildstrap.sh ${TARGET} ggp;
Debug:
variables:
TARGET: Debug
<<: *build_definition_normal
Release:
variables:
TARGET: Release
<<: *build_definition_normal
Debug-ggp:
variables:
TARGET: Debug
<<: *build_definition_ggp
Release-ggp:
variables:
TARGET: Release
<<: *build_definition_ggp