forked from ddclient/ddclient
-
Notifications
You must be signed in to change notification settings - Fork 1
129 lines (125 loc) · 3.56 KB
/
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
125
126
127
128
129
name: CI
on:
push:
pull_request:
jobs:
test-debian-like:
strategy:
matrix:
image:
- ubuntu:latest
- ubuntu:20.04
- debian:testing
- debian:stable
- debian:oldstable
runs-on: ubuntu-latest
container:
image: ${{ matrix.image }}
steps:
- name: install dependencies
run: |
apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
automake \
ca-certificates \
git \
curl \
libhttp-daemon-perl \
libhttp-daemon-ssl-perl \
libplack-perl \
libtest-mockmodule-perl \
libtest-tcp-perl \
libtest-warnings-perl \
liburi-perl \
net-tools \
make \
;
- uses: actions/checkout@v2
- name: autogen
run: ./autogen
- name: configure
run: ./configure
- name: check
run: make VERBOSE=1 AM_COLOR_TESTS=always check
- name: distcheck
run: make VERBOSE=1 AM_COLOR_TESTS=always distcheck
- name: distribution tarball is complete
run: ./.github/workflows/scripts/dist-tarball-check
#test-centos8:
# runs-on: ubuntu-latest
# container: centos:8
# steps:
# - uses: actions/checkout@v2
# - name: install dependencies
# run: |
# dnf --refresh --enablerepo=PowerTools install -y \
# automake \
# make \
# perl-HTTP-Daemon \
# perl-IO-Socket-INET6 \
# perl-Test-Warnings \
# perl-core \
# ;
# - name: autogen
# run: ./autogen
# - name: configure
# run: ./configure
# - name: check
# run: make VERBOSE=1 AM_COLOR_TESTS=always check
# - name: distcheck
# run: make VERBOSE=1 AM_COLOR_TESTS=always distcheck
test-fedora:
runs-on: ubuntu-latest
container: fedora
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: |
dnf --refresh install -y \
automake \
findutils \
make \
curl \
perl \
perl-HTTP-Daemon \
perl-HTTP-Daemon-SSL \
perl-IO-Socket-INET6 \
perl-Plack \
perl-Test-MockModule \
perl-Test-TCP \
perl-Test-Warnings \
net-tools \
;
- name: autogen
run: ./autogen
- name: configure
run: ./configure
- name: check
run: make VERBOSE=1 AM_COLOR_TESTS=always check
- name: distcheck
run: make VERBOSE=1 AM_COLOR_TESTS=always distcheck
test-redhat-ubi7:
runs-on: ubuntu-latest
# we use redhats univeral base image which is not available on docker hub
# https://catalog.redhat.com/software/containers/ubi7/ubi/5c3592dcd70cc534b3a37814
container: registry.access.redhat.com/ubi7/ubi
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: |
yum install -y \
automake \
make \
perl-HTTP-Daemon \
perl-IO-Socket-INET6 \
perl-core \
iproute \
;
- name: autogen
run: ./autogen
- name: configure
run: ./configure
- name: check
run: make VERBOSE=1 AM_COLOR_TESTS=always check
- name: distcheck
run: make VERBOSE=1 AM_COLOR_TESTS=always distcheck