Skip to content

Commit 9186637

Browse files
committed
We can do the formatting check earlier.
1 parent c421eb1 commit 9186637

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.buildbot.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,20 @@ cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} \
1919
../llvm
2020
make -j `nproc` install
2121

22+
# clang-format any new files that we've introduced ourselves.
23+
cd ..
24+
PATH=${INST_DIR}/bin:${PATH}
25+
sh yk_format_new_files.sh
26+
git diff --exit-code
27+
2228
# There are many test suites for LLVM:
2329
# https://llvm.org/docs/TestingGuide.html
2430
#
2531
# This runs unit and integration tests.
32+
cd build
2633
make -j `nproc` check-all
2734
cd ..
2835

29-
# clang-format any new files that we've introduced ourselves.
30-
PATH=${INST_DIR}/bin:${PATH}
31-
sh yk_format_new_files.sh
32-
git diff --exit-code
33-
3436
# FIXME The commented code below should run the `test-suite` tests, as
3537
# described at https://llvm.org/docs/TestSuiteGuide.html.
3638
#

0 commit comments

Comments
 (0)