-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
115 lines (101 loc) · 2.64 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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
before_script:
# - apt update -qq
# - ./install-deps.sh
stages:
- build-amd64
- build-i386
build-amd64:
stage: build-amd64
# image: amd64/debian:unstable
image: forthy42/gforth-builder-amd64:unstable
script:
- ./autogen.sh
- ./configure
- make distclean
- dpkg-buildpackage -uc -us -d -b
- rm -f debian/*.deb
- mv ../*.deb debian
# The files which are to be made available in GitLab
artifacts:
paths:
- build/*
- debian/*.deb
build-i386:
stage: build-i386
# image: i386/debian:unstable
image: forthy42/gforth-builder-i386:unstable
script:
- ./autogen.sh
- ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
- make distclean
- dpkg-buildpackage -uc -us -d -b
- mv ../*i386*.deb debian
# The files which are to be made available in GitLab
artifacts:
paths:
- build/*
- debian/*.deb
build-amd64-stable:
stage: build-amd64
# image: amd64/debian:stable
image: forthy42/gforth-builder-amd64:stable
script:
- ./autogen.sh
- ./configure
- make distclean
- dpkg-buildpackage -uc -us -d -b
- mkdir -p debian/stable
- rm -f debian/stable/*.deb
- mv ../*.deb debian/stable
# The files which are to be made available in GitLab
artifacts:
paths:
- build/*
- debian/stable/*.deb
build-i386-stable:
stage: build-i386
#image: i386/debian:stable
image: forthy42/gforth-builder-i386:stable
script:
- ./autogen.sh
- ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
- make distclean
- dpkg-buildpackage -uc -us -d -b
- mv ../*i386*.deb debian/stable
# The files which are to be made available in GitLab
artifacts:
paths:
- build/*
- debian/stable/*.deb
build-amd64-oldstable:
stage: build-amd64
# image: amd64/debian:oldstable
image: forthy42/gforth-builder-amd64:oldstable
script:
- ./autogen.sh
- ./configure
- make distclean
- dpkg-buildpackage -uc -us -d -b
- mkdir -p debian/oldstable
- rm -f debian/oldstable/*.deb
- mv ../*.deb debian/oldstable
# The files which are to be made available in GitLab
artifacts:
paths:
- build/*
- debian/oldstable/*.deb
build-i386-oldstable:
stage: build-i386
# image: i386/debian:oldstable
image: forthy42/gforth-builder-i386:oldstable
script:
- ./autogen.sh
- ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu
- make distclean
- dpkg-buildpackage -uc -us -d -b
- mv ../*i386*.deb debian/oldstable
# The files which are to be made available in GitLab
artifacts:
paths:
- build/*
- debian/oldstable/*.deb