Skip to content

Commit

Permalink
check makedepend too
Browse files Browse the repository at this point in the history
  • Loading branch information
thommey committed Jun 16, 2024
1 parent a510fa9 commit 8a2f515
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/autotools.yml → .github/workflows/misc.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: Autotools check
name: Check autotools/makedepend

on:
push:
branches: [ develop ]

jobs:
default-build:
name: Check if autotools need to be run
autotools-check:
name: Check if misc/runautotools needs to be run
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: install dependencies
Expand All @@ -28,3 +26,18 @@ jobs:
if [ -s .gitdiff ]; then
exit 1
fi
makedepend-check:
name: Check if misc/makedepend needs to be run
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install dependencies
run: sudo apt-get install build-essential autoconf
- name: Run makedepend
run: misc/makedepend
- name: Check diff
run: |
git diff | tee .gitdiff
if [ -s .gitdiff ]; then
exit 1
fi

0 comments on commit 8a2f515

Please sign in to comment.