summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2021-12-10 12:55:22 +0800
committerPeng Wu <alexepico@gmail.com>2021-12-10 18:02:48 +0800
commit3d3d2760a5149fb19c303f666d0ef2f09ff4da23 (patch)
tree971241a611a4d22f4ffadb429676a7ffbf11319b
parent181544e868a829f8906c752c9840b378d7f75d54 (diff)
downloadlibpinyin-master.tar.gz
Create make-check.ymlmaster
-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