summaryrefslogtreecommitdiffstats
path: root/.github/workflows/make-check.yml
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2021-12-13 11:43:03 +0800
committerPeng Wu <alexepico@gmail.com>2021-12-13 14:25:26 +0800
commit09b8f11aea70284a65d35b2709e1867e0637e0ec (patch)
treeb2ed88b311dbed2a9b23b36acd789e6fdf28b36d /.github/workflows/make-check.yml
parentdd9b85f7b4ad4dd065620ae2917bc7af0b71c7dd (diff)
downloadibus-libpinyin-09b8f11aea70284a65d35b2709e1867e0637e0ec.tar.gz
ibus-libpinyin-09b8f11aea70284a65d35b2709e1867e0637e0ec.tar.xz
ibus-libpinyin-09b8f11aea70284a65d35b2709e1867e0637e0ec.zip
Create make-check.yml
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..c8a3fa7
--- /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 gettext gnome-common libibus-1.0-dev liblua5.3-dev libpinyin13-dev libsqlite3-dev libtool python3 python3-gi sqlite3 uuid-dev
+ - name: autoconf
+ run: ./autogen.sh
+ - name: configure
+ run: ./configure
+ - name: make
+ run: make
+ - name: make check
+ run: make check
+ - name: make distcheck
+ run: make distcheck