From 9070c8a5f726ccecd643a265005b726258d95ae9 Mon Sep 17 00:00:00 2001 From: SSSSeb Date: Mon, 8 Feb 2021 20:25:41 +0100 Subject: [PATCH] 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