Merge pull request #209 from ddclient/ci-centos
Add test for centos, use matrix for ubuntu
This commit is contained in:
commit
296576d57f
1 changed files with 52 additions and 12 deletions
64
.github/workflows/ci.yml
vendored
64
.github/workflows/ci.yml
vendored
|
@ -7,32 +7,72 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-ubuntu-latest:
|
test-ubuntu:
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
ubuntu:
|
||||||
|
- 16.04
|
||||||
|
- latest
|
||||||
|
runs-on: ubuntu-${{ matrix.ubuntu }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: install test dependencies
|
||||||
|
run: sudo apt-get install libtest-warnings-perl
|
||||||
|
- name: autogen
|
||||||
|
run: ./autogen
|
||||||
|
- name: configure
|
||||||
|
run: ./configure
|
||||||
|
- name: check
|
||||||
|
run: make VERBOSE=1 check
|
||||||
|
- name: distcheck
|
||||||
|
run: make VERBOSE=1 distcheck
|
||||||
|
|
||||||
|
test-centos6:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: centos:6
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v1
|
||||||
- name: install test dependencies
|
- name: install dependencies
|
||||||
run: sudo apt-get install libtest-warnings-perl
|
run: yum install -y automake perl-Test-Simple
|
||||||
- name: autogen
|
- name: autogen
|
||||||
run: ./autogen
|
run: ./autogen
|
||||||
- name: configure
|
- name: configure
|
||||||
run: ./configure
|
run: ./configure
|
||||||
- name: check
|
- name: check
|
||||||
run: make check
|
run: make VERBOSE=1 check
|
||||||
- name: distcheck
|
- name: distcheck
|
||||||
run: make distcheck
|
run: make VERBOSE=1 distcheck
|
||||||
test-ubuntu-oldest:
|
|
||||||
runs-on: ubuntu-16.04
|
test-centos8:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: centos:8
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: install test dependencies
|
- name: install dependencies
|
||||||
run: sudo apt-get install libtest-warnings-perl
|
run: dnf --enablerepo=PowerTools install -y perl-version automake make perl-Test-Warnings
|
||||||
- name: autogen
|
- name: autogen
|
||||||
run: ./autogen
|
run: ./autogen
|
||||||
- name: configure
|
- name: configure
|
||||||
run: ./configure
|
run: ./configure
|
||||||
- name: check
|
- name: check
|
||||||
run: make check
|
run: make VERBOSE=1 check
|
||||||
- name: distcheck
|
- name: distcheck
|
||||||
run: make distcheck
|
run: make VERBOSE=1 distcheck
|
||||||
|
|
||||||
|
test-fedora:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: fedora
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: install dependencies
|
||||||
|
run: dnf install -y perl-version automake make perl-Test-Warnings
|
||||||
|
- name: autogen
|
||||||
|
run: ./autogen
|
||||||
|
- name: configure
|
||||||
|
run: ./configure
|
||||||
|
- name: check
|
||||||
|
run: make VERBOSE=1 check
|
||||||
|
- name: distcheck
|
||||||
|
run: make VERBOSE=1 distcheck
|
||||||
|
|
Loading…
Reference in a new issue