Merge pull request #63 from dschadlich/master
Create github workflow yaml
This commit is contained in:
commit
d86a31d183
|
|
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue