Skip to content

Commit 7393d58

Browse files
committed
GitHub CI: Define Debian and Ubuntu packages individually
1 parent bdf7c8f commit 7393d58

File tree

1 file changed

+72
-43
lines changed

1 file changed

+72
-43
lines changed

.github/workflows/build.yml

+72-43
Original file line numberDiff line numberDiff line change
@@ -29,41 +29,6 @@ on:
2929
- "Dockerfile"
3030
- "NEWS"
3131

32-
env:
33-
APT_PACKAGES: |
34-
bison \
35-
cmark-gfm \
36-
cracklib-runtime \
37-
docbook-xsl \
38-
file \
39-
flex \
40-
libacl1-dev \
41-
libavahi-client-dev \
42-
libcrack2-dev \
43-
libcups2-dev \
44-
libdb-dev \
45-
libdbus-1-dev \
46-
libevent-dev \
47-
libgcrypt-dev \
48-
libglib2.0-dev \
49-
libkrb5-dev \
50-
libldap2-dev \
51-
libmariadb-dev \
52-
libpam0g-dev \
53-
libtalloc-dev \
54-
libtirpc-dev \
55-
libtracker-sparql-3.0-dev \
56-
libwrap0-dev \
57-
meson \
58-
ninja-build \
59-
quota \
60-
systemtap-sdt-dev \
61-
tcpd \
62-
tracker \
63-
tracker-miner-fs \
64-
unicode-data \
65-
xsltproc
66-
6732
jobs:
6833
build-alpine:
6934
name: Alpine Linux
@@ -121,7 +86,7 @@ jobs:
12186
-Dwith-testsuite=true
12287
- name: Build
12388
run: meson compile -C build
124-
- name: Run tests
89+
- name: Run integration tests
12590
run: cd build && meson test && cd ..
12691
- name: Install
12792
run: meson install -C build
@@ -169,7 +134,7 @@ jobs:
169134
-Dwith-testsuite=true
170135
- name: Build
171136
run: meson compile -C build
172-
- name: Run tests
137+
- name: Run integration tests
173138
run: cd build && meson test && cd ..
174139
- name: Install
175140
run: meson install -C build
@@ -190,7 +155,39 @@ jobs:
190155
- name: Install dependencies
191156
run: |
192157
apt-get update
193-
apt-get install --assume-yes --no-install-recommends ${{ env.APT_PACKAGES }}
158+
apt-get install --assume-yes --no-install-recommends \
159+
bison \
160+
cmark-gfm \
161+
cracklib-runtime \
162+
docbook-xsl \
163+
file \
164+
flex \
165+
libacl1-dev \
166+
libavahi-client-dev \
167+
libcrack2-dev \
168+
libcups2-dev \
169+
libdb-dev \
170+
libdbus-1-dev \
171+
libevent-dev \
172+
libgcrypt-dev \
173+
libglib2.0-dev \
174+
libkrb5-dev \
175+
libldap2-dev \
176+
libmariadb-dev \
177+
libpam0g-dev \
178+
libtalloc-dev \
179+
libtirpc-dev \
180+
libtracker-sparql-3.0-dev \
181+
libwrap0-dev \
182+
meson \
183+
ninja-build \
184+
quota \
185+
systemtap-sdt-dev \
186+
tcpd \
187+
tracker \
188+
tracker-miner-fs \
189+
unicode-data \
190+
xsltproc
194191
- name: Configure
195192
run: |
196193
meson setup build \
@@ -204,7 +201,7 @@ jobs:
204201
-Dwith-testsuite=true
205202
- name: Build
206203
run: meson compile -C build
207-
- name: Run tests
204+
- name: Run integration tests
208205
run: cd build && meson test && cd ..
209206
- name: Install
210207
run: meson install -C build
@@ -264,7 +261,7 @@ jobs:
264261
-Dwith-testsuite=true
265262
- name: Build
266263
run: meson compile -C build
267-
- name: Run tests
264+
- name: Run integration tests
268265
run: cd build && meson test && cd ..
269266
- name: Install
270267
run: sudo meson install -C build
@@ -326,7 +323,7 @@ jobs:
326323
-Dwith-testsuite=true
327324
- name: Build
328325
run: meson compile -C build
329-
- name: Run tests
326+
- name: Run integration tests
330327
run: cd build && meson test && cd ..
331328
- name: Install
332329
run: meson install -C build
@@ -345,7 +342,39 @@ jobs:
345342
- name: Install dependencies
346343
run: |
347344
sudo apt-get update
348-
sudo apt-get install --assume-yes --no-install-recommends ${{ env.APT_PACKAGES }}
345+
sudo apt-get install --assume-yes --no-install-recommends \
346+
bison \
347+
cmark-gfm \
348+
cracklib-runtime \
349+
docbook-xsl \
350+
file \
351+
flex \
352+
libacl1-dev \
353+
libavahi-client-dev \
354+
libcrack2-dev \
355+
libcups2-dev \
356+
libdb-dev \
357+
libdbus-1-dev \
358+
libevent-dev \
359+
libgcrypt-dev \
360+
libglib2.0-dev \
361+
libkrb5-dev \
362+
libldap2-dev \
363+
libmariadb-dev \
364+
libpam0g-dev \
365+
libtalloc-dev \
366+
libtirpc-dev \
367+
libtracker-sparql-3.0-dev \
368+
libwrap0-dev \
369+
meson \
370+
ninja-build \
371+
quota \
372+
systemtap-sdt-dev \
373+
tcpd \
374+
tracker \
375+
tracker-miner-fs \
376+
unicode-data \
377+
xsltproc
349378
- name: Configure
350379
run: |
351380
meson setup build \
@@ -398,7 +427,7 @@ jobs:
398427
-Dwith-testsuite=true
399428
- name: Build
400429
run: meson compile -C build
401-
- name: Run tests
430+
- name: Run integration tests
402431
run: cd build && meson test && cd ..
403432
- name: Install
404433
run: sudo meson install -C build

0 commit comments

Comments
 (0)