Merge pull request #1 from SSSSeb/SSSSeb-autobuild

build using github actions
This commit is contained in:
SSSSeb 2021-02-08 21:33:07 +01:00 committed by GitHub
commit 5f4a537cd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 1 deletions

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

View file

@ -1,4 +1,4 @@
#?bin/sh
#!/bin/bash
# Peter Hyman, pete@peterhyman.com
# December 2020