Skip to content

Commit d7881ff

Browse files
committed
GitHub Actions: remove EOL distributions, add noninteractive mode for apt
1 parent 97d45fd commit d7881ff

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
image: ['ubuntu:18.04', 'ubuntu:19.04', 'ubuntu:20.04', 'debian:stretch', 'debian:buster', 'debian:bullseye', 'centos:7', 'centos:8', 'fedora:29', 'fedora:30', 'fedora:31']
11+
image: ['ubuntu:18.04', 'ubuntu:20.04', 'debian:stretch', 'debian:buster', 'debian:bullseye', 'centos:7', 'centos:8', 'fedora:30', 'fedora:31']
1212

1313
name: Build on ${{ matrix.image }}
1414
container: ${{ matrix.image }}
@@ -21,6 +21,8 @@ jobs:
2121
run: |
2222
apt-get update
2323
apt-get -y install git gcc g++ cmake make libxml2-dev liblz4-dev libzstd-dev
24+
env:
25+
DEBIAN_FRONTEND: noninteractive
2426
- name: Install dependencies (CentOS)
2527
if: startsWith(matrix.image, 'centos')
2628
run: |

.github/workflows/package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
image: ['ubuntu:18.04', 'ubuntu:19.04', 'ubuntu:20.04', 'debian:stretch', 'debian:buster', 'debian:bullseye']
12+
image: ['ubuntu:18.04', 'ubuntu:20.04', 'debian:stretch', 'debian:buster', 'debian:bullseye']
1313

1414
name: Build DEBs on ${{ matrix.image }}
1515
container: ${{ matrix.image }}
@@ -29,6 +29,8 @@ jobs:
2929
apt-get update
3030
apt-get -y install git gcc g++ cmake make libxml2-dev liblz4-dev libzstd-dev
3131
apt-get -y install debhelper pkg-config devscripts build-essential fakeroot zip
32+
env:
33+
DEBIAN_FRONTEND: noninteractive
3234

3335
# Build ----------------------------------------------------------------------------------
3436
- name: Build DEB packages
@@ -54,7 +56,7 @@ jobs:
5456
strategy:
5557
fail-fast: false
5658
matrix:
57-
image: ['centos:7', 'centos:8', 'fedora:29', 'fedora:30', 'fedora:31']
59+
image: ['centos:7', 'centos:8', 'fedora:30', 'fedora:31']
5860

5961
name: Build RPMs on ${{ matrix.image }}
6062
container: ${{ matrix.image }}

0 commit comments

Comments
 (0)