Skip to content

Commit e219136

Browse files
committed
Add a CI job.
1 parent 77d1750 commit e219136

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ jobs:
142142
- name: Check for unsupported C global variables
143143
if: github.event_name == 'pull_request' # $GITHUB_EVENT_NAME
144144
run: make check-c-globals
145+
- name: Check for undocumented C APIs
146+
if: github.event_name == 'pull_request'
147+
run: make check-c-api-docs
148+
145149

146150
build-windows:
147151
name: >-

Makefile.pre.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3313,6 +3313,11 @@ check-c-globals:
33133313
--format summary \
33143314
--traceback
33153315

3316+
# Check for undocumented C APIs.
3317+
.PHONY: check-c-globals
3318+
check-c-api-docs:
3319+
$(PYTHON_FOR_REGEN) $(srcdir)/Tools/check-c-api-docs/main.py
3320+
33163321
# Find files with funny names
33173322
.PHONY: funny
33183323
funny:

0 commit comments

Comments
 (0)