mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
Prevent build from modifying the source code tree
This commit is contained in:
parent
4d2259407a
commit
e74e2ca9ff
@ -97,6 +97,10 @@ cmake --debug-trycompile -DCMAKE_VERBOSE_MAKEFILE=1 -LA "-DCMAKE_BUILD_TYPE=$BUI
|
|||||||
# shellcheck disable=SC2086 # No quotes because I want it to expand to nothing if empty.
|
# shellcheck disable=SC2086 # No quotes because I want it to expand to nothing if empty.
|
||||||
ninja $NINJA_FLAGS $BUILD_TARGET
|
ninja $NINJA_FLAGS $BUILD_TARGET
|
||||||
|
|
||||||
|
# We don't allow dirty files in the source directory after build
|
||||||
|
git ls-files --others --exclude-standard | grep . && echo "^ Dirty files in the working copy after build" && exit 1
|
||||||
|
git submodule foreach --quiet git ls-files --others --exclude-standard | grep . && echo "^ Dirty files in submodules after build" && exit 1
|
||||||
|
|
||||||
ls -la ./programs
|
ls -la ./programs
|
||||||
|
|
||||||
ccache_status
|
ccache_status
|
||||||
|
Loading…
Reference in New Issue
Block a user