From 4695ec3da925d6f5ea13f2ea27053ed7bc6f4afc Mon Sep 17 00:00:00 2001 From: Vlasta Vesely Date: Mon, 20 Feb 2023 08:39:52 +0100 Subject: [PATCH] add Github CI --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..ddc74d6 --- /dev/null +++ b/.github/workflows/test.yml @@ -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