summaryrefslogtreecommitdiff
path: root/.github/workflows/make-check.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/make-check.yml')
-rw-r--r--.github/workflows/make-check.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/make-check.yml b/.github/workflows/make-check.yml
new file mode 100644
index 0000000..7120b23
--- /dev/null
+++ b/.github/workflows/make-check.yml
@@ -0,0 +1,27 @@
+name: C/C++ CI
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: install build dependency
+ run: sudo apt-get install -y libdb-dev libglib2.0-dev
+ - name: autoconf
+ run: ./autogen.sh
+ - name: configure
+ run: ./configure --with-dbm=BerkeleyDB
+ - name: make
+ run: make V=1 VERBOSE=1
+ - name: make check
+ run: make check
+ - name: make distcheck
+ run: make distcheck