Skip to content

Commit

Permalink
Test autotools
Browse files Browse the repository at this point in the history
  • Loading branch information
thommey committed Jun 16, 2024
1 parent 99da770 commit 9aa0844
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/autotools.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Autotools check

on:
pull_request:
branches: [ develop ]
push:
branches: [ develop ]

jobs:
default-build:
name: Check if autotools need to be run
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt-get install build-essential autoconf autoheader
- name: Remove configure revision
run: find . -name configure -exec sed -i 's/From configure.ac (.*)//' {} \;
- name: Stage revision removal
run: find . -name configure -exec git add {} \;
- name: Run autotools
run: misc/runautotools
- name: Remove configure revision again
run: find . -name configure -exec sed -i 's/From configure.ac (.*)//' {} \;
- name: Check diff
run: git diff

0 comments on commit 9aa0844

Please sign in to comment.