summaryrefslogtreecommitdiffstats
path: root/.github/workflows/make-check.yml
blob: cb40927962e0e0da197da492f0087b542818018c (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
28
29
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