mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
fix(ci): make the job fail in case of not up to date cpp files
This commit is contained in:
@@ -47,4 +47,4 @@ test-ci:
|
||||
# force regeneration of sources
|
||||
rm -rf $(INTERFACE_HEADER) $(INTERFACE_CPP) $(INTERFACE_HEADER_ORIG) $(INTERFACE_CPP_ORIG)
|
||||
$(MAKE) CARGO_PROFILE=dev PROFILE_SUBDIR=debug test
|
||||
git diff --check src/cpp || echo Please commit the new version of generated files
|
||||
git diff --exit-code src/cpp || (echo Please commit the new version of generated files && exit 1)
|
||||
|
||||
Reference in New Issue
Block a user