summaryrefslogtreecommitdiff
path: root/.github/workflows/autoconf.yml
blob: ae1bb8c7f5434a5bbb48955b5c21e2566aac6f51 (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
# Checks that autoconf has been run if configure.ac was updated
# Assumes that autoconf 2.69 was run, the same as ubuntu 20.04
name: Autoconf Up To Date
on:
  pull_request:
  push:
    branches:
      - master
jobs:
  autoconf:
    runs-on: 'ubuntu-20.04'

    steps:
      - name: deps
        run: |
          sudo apt-get -y update
          sudo apt-get -y install autoconf

      - uses: actions/checkout@v2

      - name: run autoconf
        run: autoconf && autoheader

      - name: check no difference
        run: git diff --exit-code