-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbitbucket-pipelines.yml
More file actions
99 lines (99 loc) · 2.58 KB
/
bitbucket-pipelines.yml
File metadata and controls
99 lines (99 loc) · 2.58 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
image: byteb4rb1e/build-node23-ubuntu:latest
definitions:
caches:
vendor: vendor
steps:
- step: &configure
name: Configure
caches:
- node
- vendor
artifacts:
- config.log
- config.status
script:
- sh configure --with-submodule-deinit --with-force
- step: &test-script
name: Test (Script)
caches:
- node
- vendor
artifacts:
- test-reports/script/**/*
script:
- make test-reports/script
- step: &test-style
name: Test (Style)
caches:
- node
- vendor
artifacts:
- test-reports/style/**/*
script:
- make test-reports/style
- step: &build-debug
name: Build (Debug)
caches:
- node
- vendor
artifacts:
- build/debug/**/*
script:
- make build/debug
- step: &build-release
name: Build (Release)
caches:
- node
- vendor
artifacts:
- build/release/**/*
script:
- make build/release
- step: &build-doc
name: Build (Doc)
caches:
- node
- vendor
artifacts:
- build/doc/**/*
script:
- make build/doc
- step: &dist
name: Package
caches:
- node
- vendor
artifacts:
- dist/*
script:
- make dist
- step: &archive
name: Archive
caches:
- node
- vendor
artifacts:
- dist/*
script:
- make .archive
pipelines:
default:
- step: *configure
- parallel:
steps:
- step: *test-script
- step: *test-style
- step: *build-debug
branches:
master:
- step: *configure
- parallel:
steps:
- step: *test-script
- step: *test-style
- parallel:
steps:
- step: *build-doc
- step: *build-release
- step: *dist
- step: *archive