Use matrix for ubuntu
This commit is contained in:
parent
504e326274
commit
0ca6e62b67
1 changed files with 8 additions and 16 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
@ -7,23 +7,15 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-ubuntu-latest:
|
test-ubuntu:
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
steps:
|
matrix:
|
||||||
- uses: actions/checkout@v2
|
ubuntu:
|
||||||
- name: install test dependencies
|
- 16.04
|
||||||
run: sudo apt-get install libtest-warnings-perl
|
- latest
|
||||||
- name: autogen
|
runs-on: ubuntu-${{ matrix.ubuntu }}
|
||||||
run: ./autogen
|
|
||||||
- name: configure
|
|
||||||
run: ./configure
|
|
||||||
- name: check
|
|
||||||
run: make check
|
|
||||||
- name: distcheck
|
|
||||||
run: make distcheck
|
|
||||||
test-ubuntu-oldest:
|
|
||||||
runs-on: ubuntu-16.04
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: install test dependencies
|
- name: install test dependencies
|
||||||
|
|
Loading…
Reference in a new issue