From 8cee0c9ae9d863e599a84ba7fe8764cf1186dfc3 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Wed, 19 Apr 2023 16:58:54 +0100 Subject: [PATCH] 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 0898554f529..d53d6ede110 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