"example/vscode:/vscode.git/clone" did not exist on "ca0f95792cb9b98d2ac61c047b3cdf4b9c58dfcd"
Unverified Commit 37711924 authored by Paul Fultz II's avatar Paul Fultz II Committed by GitHub
Browse files

Check if generate files are different (#1789)

parent 9473e3a2
...@@ -29,7 +29,12 @@ def rocmtestnode(Map conf) { ...@@ -29,7 +29,12 @@ def rocmtestnode(Map conf) {
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_DEV=On ${flags} .. cmake -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBUILD_DEV=On ${flags} ..
make -j\$(nproc) generate all doc package check VERBOSE=1 git diff
git diff-index --quiet HEAD || (echo "Git repo is not clean after running cmake." && exit 1)
make -j\$(nproc) generate VERBOSE=1
git diff
git diff-index --quiet HEAD || (echo "Generated files are different. Please run make generate and commit the changes." && exit 1)
make -j\$(nproc) all doc package check VERBOSE=1
md5sum ./*.deb md5sum ./*.deb
""" """
echo cmd echo cmd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment