build into ubuntu-latest using github actions

This commit is contained in:
SSSSeb 2021-02-08 20:25:41 +01:00 committed by Sébastien Cabaniols
parent 9f3c995601
commit 9070c8a5f7

27
.github/workflows/c-cpp.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: check_build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: prepare repo
run: git fetch --prune --unshallow
- name: autogen
run: ./autogen.sh
- name: install liblzo2-dev
run: sudo apt install -y liblzo2-dev
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check