Set up GitHub CI

Teach GitHub to run tests for changes to `master` and for pull
requests targeting `master`.
This commit is contained in:
Richard Hansen 2020-06-29 15:10:28 -04:00
parent c72d128a9e
commit d593892c6a

34
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,34 @@
---
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-ubuntu-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: autogen
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:
- uses: actions/checkout@v2
- name: autogen
run: ./autogen
- name: configure
run: ./configure
- name: check
run: make check
- name: distcheck
run: make distcheck