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

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - uses: docker://ubuntu:19.10
    - name: Build
      run: |
        sudo apt update
        sudo apt install mm-common g++-9
        export CXX=g++-9
        ./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++-9
        make distcheck