git: b4373ce309c6 - main - Cirrus-CI: Check that make sysent was run
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Apr 2023 16:02:26 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=b4373ce309c6d3671ed40ee66cc3d11d619a2430 commit b4373ce309c6d3671ed40ee66cc3d11d619a2430 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2023-04-19 15:58:46 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2023-04-19 15:58:46 +0000 Cirrus-CI: Check that make sysent was run Run the `make sysent` target and verify that the repo isn't modified afterwards. This ensures that a pushed branch contains all the required bits after a change to syscall.master. Reviewed by: emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D39680 --- .cirrus.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 7adcaf041758..0898554f5296 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -31,7 +31,7 @@ task: TOOLCHAIN_PKG: amd64-gcc12 timeout_in: 120m install_script: - - sh .cirrus-ci/pkg-install.sh ${TOOLCHAIN_PKG} + - sh .cirrus-ci/pkg-install.sh ${TOOLCHAIN_PKG} git-lite setup_script: - uname -a @@ -55,6 +55,11 @@ task: - sh .cirrus-ci/pkg-install.sh qemu-nox11 - sh tools/boot/ci-qemu-test.sh + make_sysent_script: + # Check that make sysent results were committed if required + - make sysent + - if ! git diff --exit-code; then printf "\n>>> Generated sysent files not updated, run make sysent <<<\n"; false; fi + post_script: - df -m - du -m -s /usr/obj