summaryrefslogtreecommitdiffstats
path: root/.github/workflows/make-check.yml
blob: c8a3fa704ce835238f25f494d85f5d692576d848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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