Set up GitHub CI
Teach GitHub to run tests for changes to `master` and for pull requests targeting `master`.
This commit is contained in:
parent
c72d128a9e
commit
d593892c6a
1 changed files with 34 additions and 0 deletions
34
.github/workflows/ci.yml
vendored
Normal file
34
.github/workflows/ci.yml
vendored
Normal 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
|
Loading…
Reference in a new issue