From 9f3c9956019f496a628bee2e13c37a2f11a1f6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Cabaniols?= Date: Mon, 8 Feb 2021 12:27:36 +0100 Subject: [PATCH 1/2] explicitely require bash so that autogen.sh now pass on ubuntu20/mint --- util/gitdesc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/gitdesc.sh b/util/gitdesc.sh index 06f6aa8..486d7dc 100755 --- a/util/gitdesc.sh +++ b/util/gitdesc.sh @@ -1,4 +1,4 @@ -#?bin/sh +#!/bin/bash # Peter Hyman, pete@peterhyman.com # December 2020 From 9070c8a5f726ccecd643a265005b726258d95ae9 Mon Sep 17 00:00:00 2001 From: SSSSeb Date: Mon, 8 Feb 2021 20:25:41 +0100 Subject: [PATCH 2/2] build into ubuntu-latest using github actions --- .github/workflows/c-cpp.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..5cbae97 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -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