add Github CI

This commit is contained in:
Vlasta Vesely 2023-02-20 08:39:52 +01:00
parent caf12045fa
commit 4695ec3da9
No known key found for this signature in database
GPG key ID: EB0E649DC0DFCC22

22
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: dependencies
run: sudo apt update && sudo apt install -y autoconf make gcc lcov check pkg-config
- name: configure
run: sh autogen.sh && ./configure
- name: make
run: make
- name: maketest
run: make test