git: 8cee0c9ae9d8 - main - Cirrus-CI: Run check-ldirs in include/

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Wed, 19 Apr 2023 16:02:28 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=8cee0c9ae9d863e599a84ba7fe8764cf1186dfc3

commit 8cee0c9ae9d863e599a84ba7fe8764cf1186dfc3
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-04-19 15:58:54 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-04-19 15:58:54 +0000

    Cirrus-CI: Run check-ldirs in include/
    
    Check that LDIRS defined in include/Makefile actually exist.
    
    Reviewed by:    emaste
    Sponsored by:   DARPA
    Differential Revision:  https://reviews.freebsd.org/D39681
---
 .cirrus.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.cirrus.yml b/.cirrus.yml
index 0898554f5296..d53d6ede110e 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -60,6 +60,10 @@ task:
   - make sysent
   - if ! git diff --exit-code; then printf "\n>>> Generated sysent files not updated, run make sysent <<<\n"; false; fi
 
+  include_ldirs_script:
+  # Check that includes/Makefile refers to existing directories
+  - if ! make -C include/ check-ldirs; then printf "\n>>> include/Makefile lists nonexistant directories <<<\n"; false; fi
+
   post_script:
   - df -m
   - du -m -s /usr/obj