summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2021-05-12 22:30:10 +0200
committerMichael Adam <obnox@samba.org>2021-05-12 22:39:30 +0200
commite81d7767d321d4aca2abbfbac6eba5dea0da9786 (patch)
treedfca5e63a11b8f69808565eca666d742214be352
parent7af5b1a553026336ef935ea8ac240bba548b88fd (diff)
Add github actions workflow for new CI
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--.github/workflows/main.yml28
1 files changed, 28 insertions, 0 deletions
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