summaryrefslogtreecommitdiffstats
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.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/make-check.yml b/.github/workflows/make-check.yml
new file mode 100644
index 0000000..cb40927
--- /dev/null
+++ b/.github/workflows/make-check.yml
@@ -0,0 +1,30 @@
+name: C/C++ CI
+
+on:
+ push:
+ branches: [ main ]
+ pull_request:
+ branches: [ main ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-22.04
+
+ container:
+ image: fedora:rawhide
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: install build dependency
+ run: sudo dnf install -y gcc-c++ gettext-devel libtool pkgconfig sqlite-devel ibus-devel libpinyin-devel python3-devel libpinyin-tools make gnome-common which wget
+ - 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