aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/continuous-integration.yml
blob: 621c23ce341018a751f642d363d7e818365702f8 (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
31
32
33
34
name: Continuous Integration

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - name: Recursive Git clone
      uses: actions/checkout@v2
      with:
        submodules: recursive
    - name: Install all build dependencies
      run: >
        sudo apt-get install build-essential autoconf automake libtool
                             libglib2.0-dev libncurses-dev
                             groff doxygen
    - name: Generate ./configure
      run: autoreconf -i
    - run: ./configure --with-interface=ncurses --enable-html-manual
    - run: make
    - name: Run test suite
      run: make check
    - name: Build developer documentation
      run: cd doc && make devdoc
# FIXME: Will try to perform an out-of-tree build which will not
# work without manual intervention due to Scintilla.
#    - run: make distcheck