mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Check macros for headers
This commit is contained in:
parent
197550c956
commit
042c3e91fb
1 changed files with 6 additions and 0 deletions
6
.github/workflows/check_misc.yml
vendored
6
.github/workflows/check_misc.yml
vendored
|
@ -9,3 +9,9 @@ jobs:
|
|||
- name: Check if C-sources are US-ASCII
|
||||
run: |
|
||||
! grep -r -n '[^ -~]' *.[chy] include internal win32/*.[ch]
|
||||
- name: Check for header macros
|
||||
run: |
|
||||
! for header in ruby/*.h; do \
|
||||
git grep -l -F -e $header -e HAVE_`echo $header | tr a-z./ A-Z__` -- . > /dev/null || echo $header
|
||||
done | grep -F .
|
||||
working-directory: include
|
||||
|
|
Loading…
Add table
Reference in a new issue