summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..c1364ce
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,21 @@
+name: GitHub CI
+
+on: [push, pull_request]
+
+jobs:
+ ubuntu-build-test:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Install deps
+ run: |
+ sudo apt-get update -y
+ sudo apt-get install -y libevent-dev libseccomp-dev git libsasl2-dev
+ - name: Build
+ run: |
+ gcc --version
+ ./autogen.sh
+ ./configure --enable-seccomp --enable-tls --enable-sasl --enable-sasl-pwdb
+ make -j
+ - name: Test
+ run: PARALLEL=5 make test