From f99de6ee19deae8a45093d6aebf29db1a34a3f49 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Sun, 30 Jan 2022 14:15:37 +0800 Subject: Add test for up-to-date configure script --- .github/workflows/autoconf.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/autoconf.yml diff --git a/.github/workflows/autoconf.yml b/.github/workflows/autoconf.yml new file mode 100644 index 0000000..ae1bb8c --- /dev/null +++ b/.github/workflows/autoconf.yml @@ -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 -- cgit v1.2.1