Skip to content

Commit 25678c5

Browse files
committed
Initialize
0 parents  commit 25678c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+5560
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# User file
2+
*.pro.user
3+

.gitlab-ci.yml

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
# Define stages that can be used by jobs
2+
# - Jobs of the same stage are run in parallel.
3+
# - Jobs of the next stage are run after the jobs from the previous stage complete successfully.
4+
# - If no stages are defined in .gitlab-ci.yml, then the build, test and deploy are allowed to be used as job’s stage by default.
5+
# - If a job does not specify a stage, the job is assigned the test stage.
6+
stages:
7+
- build
8+
9+
# Anchor:
10+
# - & sets up the name of the anchor,
11+
# - << means “merge the given hash into the current one”
12+
# - * means "includes the named anchor under current one"
13+
.template_changelog_dev: &template_changelog_dev
14+
- export CI_T_DATE=`LANG=C date -R`
15+
- cd v2rock
16+
- touch ./debian/changelog
17+
- echo "v2rock (99.9.${CI_PIPELINE_ID}-1) precise; urgency=low" > ./debian/changelog
18+
- echo "" >> ./debian/changelog
19+
- echo " * Development build from master branch" >> ./debian/changelog
20+
- echo "" >> ./debian/changelog
21+
- echo " -- IOsetting <[email protected]> ${CI_T_DATE}" >> ./debian/changelog
22+
- cd ..
23+
24+
# Stage "ubuntu"
25+
build-ubuntu-2004-64:
26+
stage: build
27+
script:
28+
- cd v2rock
29+
- echo "y" | debuild -eDEB_BUILD_OPTIONS="parallel=4" -us -uc
30+
- cd .. && mkdir build
31+
- mv v2rock*.deb build/
32+
33+
# The files which are to be made available in GitLab
34+
artifacts:
35+
paths:
36+
- build/*
37+
38+
tags:
39+
- ubuntu-2004-64
40+
41+
only:
42+
- tags
43+
44+
# Stage "ubuntu-dev"
45+
build-ubuntu-2004-64-dev:
46+
stage: build
47+
before_script:
48+
- *template_changelog_dev
49+
script:
50+
- cd v2rock
51+
- echo "y" | debuild -eDEB_BUILD_OPTIONS="parallel=4" -us -uc
52+
- cd .. && mkdir build
53+
- mv v2rock*.deb build/
54+
55+
# The files which are to be made available in GitLab
56+
artifacts:
57+
paths:
58+
- build/*
59+
60+
tags:
61+
- ubuntu-2004-64
62+
63+
only:
64+
- master
65+
66+
# Stage "ubuntu"
67+
build-ubuntu-1804-64:
68+
stage: build
69+
script:
70+
- cd v2rock
71+
- echo "y" | debuild -eDEB_BUILD_OPTIONS="parallel=4" -us -uc
72+
- cd .. && mkdir build
73+
- mv v2rock*.deb build/
74+
75+
# The files which are to be made available in GitLab
76+
artifacts:
77+
paths:
78+
- build/*
79+
80+
tags:
81+
- ubuntu-1804-64
82+
83+
only:
84+
- tags
85+
86+
# Stage "ubuntu-dev"
87+
build-ubuntu-1804-64-dev:
88+
stage: build
89+
before_script:
90+
- *template_changelog_dev
91+
script:
92+
- cd v2rock
93+
- echo "y" | debuild -eDEB_BUILD_OPTIONS="parallel=4" -us -uc
94+
- cd .. && mkdir build
95+
- mv v2rock*.deb build/
96+
97+
# The files which are to be made available in GitLab
98+
artifacts:
99+
paths:
100+
- build/*
101+
102+
tags:
103+
- ubuntu-1804-64
104+
105+
only:
106+
- master
107+
108+
# Stage "ubuntu"
109+
build-ubuntu-1604-64:
110+
stage: build
111+
before_script:
112+
- echo "QMAKE_CXXFLAGS += -std=c++0x" >> ./v2rock/v2rock.pro
113+
script:
114+
- cd v2rock
115+
- debuild clean
116+
- echo "y" | debuild -eDEB_BUILD_OPTIONS="parallel=4" -us -uc
117+
- cd .. && mkdir build
118+
- mv v2rock*.deb build/
119+
120+
# The files which are to be made available in GitLab
121+
artifacts:
122+
paths:
123+
- build/*
124+
125+
tags:
126+
- ubuntu-1604-64
127+
128+
only:
129+
- tags
130+
131+
# Stage "ubuntu-dev"
132+
build-ubuntu-1604-64-dev:
133+
stage: build
134+
before_script:
135+
- *template_changelog_dev
136+
- echo "QMAKE_CXXFLAGS += -std=c++0x" >> ./v2rock/v2rock.pro
137+
script:
138+
- cd v2rock
139+
- debuild clean
140+
- echo "y" | debuild -eDEB_BUILD_OPTIONS="parallel=4" -us -uc
141+
- cd .. && mkdir build
142+
- mv v2rock*.deb build/
143+
144+
# The files which are to be made available in GitLab
145+
artifacts:
146+
paths:
147+
- build/*
148+
149+
tags:
150+
- ubuntu-1604-64
151+
152+
only:
153+
- master

0 commit comments

Comments
 (0)