summaryrefslogtreecommitdiff
path: root/.github/workflows/autotools-clang-8.yml
blob: 908e2f832d3c50d2f908f8683cce41f116da163c (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: clang 8"

on: [push]

jobs:
  build:

    runs-on: ubuntu-18.04

    steps:
    - uses: actions/checkout@v1
    - name: Build
      run: |
        sudo apt update
        sudo apt install mm-common clang-8 docbook-xsl
        export CXX=clang++-8
        ./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=clang++-8
        make distcheck