From e81d7767d321d4aca2abbfbac6eba5dea0da9786 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 12 May 2021 22:30:10 +0200 Subject: [PATCH] Add github actions workflow for new CI Signed-off-by: Michael Adam --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..d2f6656 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +name: CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: ./autogen.sh + - run: ./configure + - run: make + - run: make test + valgrind: + runs-on: ubnutu-latest + steps: + - uses: actions/checkout@v2 + - name: install valgrind + run: apt-get install --assume-yes valgrind + - run: ./autogen.sh + - run: ./configure --enable-debug --enable-transparent --enable-reverse + - run: make + - run: make test + - run: make valgrind-test