Merge pull request #63 from dschadlich/master

Create github workflow yaml
This commit is contained in:
Heikki Hannikainen 2021-02-03 09:54:29 +02:00 committed by GitHub
commit d86a31d183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 41 additions and 0 deletions

41
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,41 @@
name: Build Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install deps
run: |
sudo apt-get install -y libevent-dev perl-modules libio-socket-inet6-perl libjson-xs-perl
- name: configure
run: |
cd src
./configure
- name: make
run: |
cd src
make -j4
- name: make testinstall
run: |
cd src
make testinstall
- name: Run tests
run: |
cd tests
make test