summaryrefslogtreecommitdiff
path: root/.github/workflows/autotools-gcc-10.yml
blob: b61ae96da0aee9f86b6c0e84ca40c8ad2c3ae5d5 (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
name: "CI: autotools: gcc 10"

on: [push]

jobs:
  build:

    runs-on: ubuntu-20.04

    steps:
    - uses: actions/checkout@v1
    - name: Build
      run: |
        sudo apt update
        sudo apt install mm-common g++-10 docbook5-xml docbook-xsl
        export CXX=g++-10
        ./autogen.sh --enable-warnings=fatal
        make
    - name: Test
      run: make check
    - name: Distcheck
      run: |
        # distcheck runs configure again so we need to specify CXX again.
        export CXX=g++-10
        make distcheck