mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
add build command logging to ci.sh
This commit is contained in:
parent
a12b4c757a
commit
27ee3114ae
21
test/ci.sh
21
test/ci.sh
@ -2,21 +2,28 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
run() {
|
||||||
|
echo '==============================================='
|
||||||
|
echo "${@}"
|
||||||
|
echo '==============================================='
|
||||||
|
"${@}"
|
||||||
|
}
|
||||||
|
|
||||||
if [ -z "${test_target}" ]; then
|
if [ -z "${test_target}" ]; then
|
||||||
test_target=test
|
test_target=test
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# we shouldn't run jdk-test builds if we're not running the test target
|
# we shouldn't run jdk-test builds if we're not running the test target
|
||||||
if [ ${test_target} = test ]; then
|
if [ ${test_target} = test ]; then
|
||||||
make ${flags} jdk-test
|
run make ${flags} jdk-test
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make ${flags} ${test_target}
|
run make ${flags} ${test_target}
|
||||||
make ${flags} mode=debug ${test_target}
|
run make ${flags} mode=debug ${test_target}
|
||||||
make ${flags} process=interpret ${test_target}
|
run make ${flags} process=interpret ${test_target}
|
||||||
# bootimage and openjdk builds without openjdk-src don't work:
|
# bootimage and openjdk builds without openjdk-src don't work:
|
||||||
if [ -z "${openjdk}" ]; then
|
if [ -z "${openjdk}" ]; then
|
||||||
make ${flags} bootimage=true ${test_target}
|
run make ${flags} bootimage=true ${test_target}
|
||||||
fi
|
fi
|
||||||
make ${flags} tails=true continuations=true ${test_target}
|
run make ${flags} tails=true continuations=true ${test_target}
|
||||||
make ${flags} codegen-targets=all
|
run make ${flags} codegen-targets=all
|
||||||
|
Loading…
Reference in New Issue
Block a user