-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.gitlab-ci.yml
124 lines (108 loc) · 2.57 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
116
117
118
119
120
121
122
123
124
stages:
- checkpatch
- build
.build-only: &build-only
only:
- /^(dev).*$/
- master
- web
when: always
.checkpatch-full-only: &checkpatch-full-only
only:
- /^(dev-kernel).*$/
when: always
.checkpatch-soft-only: &checkpatch-soft-only
only:
- /^(dev).*$/
- master
- web
except:
- /^(dev-kernel).*$/
when: always
checkpatch-full:
stage: checkpatch
<<: *checkpatch-full-only
script:
- /usr/src/linux-headers-$(uname -r)/scripts/checkpatch.pl --no-tree -f aqc111.[c,h]
checkpatch-soft:
stage: checkpatch
<<: *checkpatch-soft-only
script:
- /usr/src/linux-headers-$(uname -r)/scripts/checkpatch.pl --no-tree --ignore LINUX_VERSION_CODE -f aqc111.[c,h]
build-project:
stage: build
<<: *build-only
script:
- make
after_script:
- make clean --silent
build-rhel-7.2:
stage: build
<<: *build-only
script:
- 'make KDIR=/home/gitlab-runner/kernels/linux-3.10.0-327.36.3.el7/ CC=gcc-4.8'
after_script:
- make clean --silent
build-rhel-7.3:
stage: build
<<: *build-only
script:
- 'make KDIR=/home/gitlab-runner/kernels/linux-3.10.0-514.26.2.el7/ CC=gcc-4.8'
after_script:
- make clean --silent
build-rhel-7.4:
stage: build
<<: *build-only
script:
- 'make KDIR=/home/gitlab-runner/kernels/linux-3.10.0-693.21.1.el7/ CC=gcc-4.8'
after_script:
- make clean --silent
build-rhel-7.5:
stage: build
<<: *build-only
script:
- 'make KDIR=/home/gitlab-runner/kernels/linux-3.10.0-862.11.6.el7/ CC=gcc-4.8'
after_script:
- make clean --silent
build-rhel-7.6:
stage: build
<<: *build-only
script:
- 'make KDIR=/home/gitlab-runner/kernels/linux-3.10.0-957.el7.x86_64/ CC=gcc-4.8'
after_script:
- make clean --silent
build-3.10:
stage: build
<<: *build-only
script:
- 'make KDIR=/home/gitlab-runner/kernels/linux-3.10/linux/ CC=gcc-4.8'
after_script:
- make clean --silent
build-3.16:
stage: build
<<: *build-only
script:
- 'make KDIR=/home/gitlab-runner/kernels/linux-3.16/linux/ CC=gcc-4.8'
after_script:
- make clean --silent
build-4.14:
stage: build
<<: *build-only
script:
- 'make KDIR=/home/gitlab-runner/kernels/linux-4.14/linux/ CC=gcc-4.8'
after_script:
- make clean --silent
build-4.4:
stage: build
<<: *build-only
script:
- 'make KDIR=/home/gitlab-runner/kernels/linux-4.4/linux/ CC=gcc-4.8'
after_script:
- make clean --silent
build-4.9:
stage: build
<<: *build-only
script:
- 'make KDIR=/home/gitlab-runner/kernels/linux-4.9/linux/ CC=gcc-4.8'
after_script:
- make clean --silent