mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
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
This commit is contained in:
parent
260b2c51b2
commit
b4373ce309
|
@ -31,7 +31,7 @@ task:
|
||||||
TOOLCHAIN_PKG: amd64-gcc12
|
TOOLCHAIN_PKG: amd64-gcc12
|
||||||
timeout_in: 120m
|
timeout_in: 120m
|
||||||
install_script:
|
install_script:
|
||||||
- sh .cirrus-ci/pkg-install.sh ${TOOLCHAIN_PKG}
|
- sh .cirrus-ci/pkg-install.sh ${TOOLCHAIN_PKG} git-lite
|
||||||
|
|
||||||
setup_script:
|
setup_script:
|
||||||
- uname -a
|
- uname -a
|
||||||
|
@ -55,6 +55,11 @@ task:
|
||||||
- sh .cirrus-ci/pkg-install.sh qemu-nox11
|
- sh .cirrus-ci/pkg-install.sh qemu-nox11
|
||||||
- sh tools/boot/ci-qemu-test.sh
|
- 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:
|
post_script:
|
||||||
- df -m
|
- df -m
|
||||||
- du -m -s /usr/obj
|
- du -m -s /usr/obj
|
||||||
|
|
Loading…
Reference in a new issue