summaryrefslogtreecommitdiffstats
path: root/.github/workflows/make-check.yml
blob: 47a83b6f26c26c0e25f3b3db8954324260018811 (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-latest

    container:
      image: fedora:rawhide

    steps:
    - uses: actions/checkout@v2
    - name: install build dependency
      run: sudo dnf install -y gcc-c++ libdb-devel glib2-devel make gnome-common wget
    - 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