summaryrefslogtreecommitdiff
path: root/.github/workflows/autotools.yml
blob: d501cb4876d71e6059550a0fe8776313f4542bf4 (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
35
36
37
38
39
40
name: Autotools build

on:
  push:
  pull_request:
  schedule:
    - cron: '0 0 1 * *'

jobs:
  build:
    strategy:
      matrix:
        os:
          [
            ubuntu-latest,
            macos-latest,
          ]

    runs-on: ${{ matrix.os }}

    steps:
      - uses: actions/checkout@v2

      - name: Install macOS dependencies
        if: startsWith(matrix.os,'macos')
        run: brew install automake pkg-config

      - name: configure
        run: |
          ./autogen.sh
          ./configure

      - name: build
        run: make

      - name: test
        run: make check

      - name: distcheck
        run: make distcheck