summaryrefslogtreecommitdiff
path: root/.github/workflows/make-check.yml
blob: bd0869981f5d9b2e7f0039b754a67b2445598150 (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: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: install build dependency
      run: sudo apt-get install -y libdb-dev libglib2.0-dev
    - 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