# HG changeset patch # User Matt Johnston # Date 1643523337 -28800 # Node ID 7a6c64c4f0ac0e69fae5f1bd06d247844c7c76d7 # Parent d940f8007a453de3a5f6d1b0befd7cb4f8c04d1d Add test for up-to-date configure script diff -r d940f8007a45 -r 7a6c64c4f0ac .github/workflows/autoconf.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.github/workflows/autoconf.yml Sun Jan 30 14:15:37 2022 +0800 @@ -0,0 +1,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