File: misc.yml

package info (click to toggle)
eggdrop 1.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,596 kB
  • sloc: ansic: 65,863; javascript: 8,908; sh: 5,337; tcl: 3,801; makefile: 1,771; python: 121
file content (45 lines) | stat: -rw-r--r-- 1,338 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Check autotools/makedepend

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

jobs:
  autotools-check:
    name: Check if misc/runautotools needs to be run
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: install dependencies
      run: sudo apt-get update && sudo apt-get install build-essential autoconf
    - name: Stage configure with revision removed
      run: |
        for i in `find . -name configure`; do sed -i 's/From configure.ac .*//' $i; git add $i; done
    - name: Run autotools
      run: misc/runautotools
    - name: Remove configure revision again
      run: |
        for i in `find . -name configure`; do sed -i 's/From configure.ac .*//' $i; done
    - name: Check diff
      run: |
        git diff | tee .gitdiff
        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 update && sudo apt-get install build-essential autoconf tcl-dev tcl openssl libssl-dev
    - name: Run makedepend
      run: misc/makedepend
    - name: Check diff
      run: |
        git diff | tee .gitdiff
        if [ -s .gitdiff ]; then
          exit 1
        fi