forked from jrottenberg/ffmpeg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
146 lines (146 loc) · 3.15 KB
/
azure-pipelines.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
jobs:
- job: Build
pool:
vmImage: 'Ubuntu 16.04'
strategy:
maxParallel: 10
matrix:
snapshot_ubuntu:
VERSION: snapshot
VARIANT: ubuntu
snapshot_alpine:
VERSION: snapshot
VARIANT: alpine
snapshot_centos:
VERSION: snapshot
VARIANT: centos
snapshot_scratch:
VERSION: snapshot
VARIANT: scratch
snapshot_vaapi:
VERSION: snapshot
VARIANT: vaapi
4_1_ubuntu:
VERSION: 4.1
VARIANT: ubuntu
4_1_alpine:
VERSION: 4.1
VARIANT: alpine
4_1_centos:
VERSION: 4.1
VARIANT: centos
4_1_scratch:
VERSION: 4.1
VARIANT: scratch
4_1_vaapi:
VERSION: 4.1
VARIANT: vaapi
4_0_ubuntu:
VERSION: 4.0
VARIANT: ubuntu
4_0_alpine:
VERSION: 4.0
VARIANT: alpine
4_0_centos:
VERSION: 4.0
VARIANT: centos
4_0_scratch:
VERSION: 4.0
VARIANT: scratch
4_0_vaapi:
VERSION: 4.0
VARIANT: vaapi
3_4_ubuntu:
VERSION: 3.4
VARIANT: ubuntu
3_4_alpine:
VERSION: 3.4
VARIANT: alpine
3_4_centos:
VERSION: 3.4
VARIANT: centos
3_4_scratch:
VERSION: 3.4
VARIANT: scratch
3_4_vaapi:
VERSION: 3.4
VARIANT: vaapi
3_3_ubuntu:
VERSION: 3.3
VARIANT: ubuntu
3_3_alpine:
VERSION: 3.3
VARIANT: alpine
3_3_centos:
VERSION: 3.3
VARIANT: centos
3_3_scratch:
VERSION: 3.3
VARIANT: scratch
3_3_vaapi:
VERSION: 3.3
VARIANT: vaapi
3_2_ubuntu:
VERSION: 3.2
VARIANT: ubuntu
3_2_alpine:
VERSION: 3.2
VARIANT: alpine
3_2_centos:
VERSION: 3.2
VARIANT: centos
3_2_scratch:
VERSION: 3.2
VARIANT: scratch
3_2_vaapi:
VERSION: 3.2
VARIANT: vaapi
3_1_ubuntu:
VERSION: 3.1
VARIANT: ubuntu
3_1_alpine:
VERSION: 3.1
VARIANT: alpine
3_1_centos:
VERSION: 3.1
VARIANT: centos
3_1_scratch:
VERSION: 3.1
VARIANT: scratch
3_1_vaapi:
VERSION: 3.1
VARIANT: vaapi
3_0_ubuntu:
VERSION: 3.0
VARIANT: ubuntu
3_0_alpine:
VERSION: 3.0
VARIANT: alpine
3_0_centos:
VERSION: 3.0
VARIANT: centos
3_0_scratch:
VERSION: 3.0
VARIANT: scratch
3_0_vaapi:
VERSION: 3.0
VARIANT: vaapi
2_8_ubuntu:
VERSION: 2.8
VARIANT: ubuntu
2_8_alpine:
VERSION: 2.8
VARIANT: alpine
2_8_centos:
VERSION: 2.8
VARIANT: centos
2_8_scratch:
VERSION: 2.8
VARIANT: scratch
2_8_vaapi:
VERSION: 2.8
VARIANT: vaapi
steps:
- script: |
docker build -t ffmpeg:${VERSION}-${VARIANT} --build-arg MAKEFLAGS="-j$(($(grep -c ^processor /proc/cpuinfo) + 1))" docker-images/${VERSION}/${VARIANT}
docker run --rm ffmpeg:${VERSION}-${VARIANT} -buildconf