mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-12 05:49:56 -04:00
Directly use ctest in Linux build script
This commit is contained in:
parent
1ca04fa51f
commit
dcdac60828
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
export CTEST_PARALLEL_LEVEL=$(nproc)
|
|
||||||
export CCACHE_DIR=/ccache
|
export CCACHE_DIR=/ccache
|
||||||
|
|
||||||
cd "$HOME"
|
cd "$HOME"
|
||||||
@ -88,7 +87,7 @@ cmake ../dwarfs/ $CMAKE_ARGS
|
|||||||
|
|
||||||
$BUILD_TOOL
|
$BUILD_TOOL
|
||||||
|
|
||||||
$BUILD_TOOL test
|
ctest --output-on-failure -j$(nproc)
|
||||||
|
|
||||||
if [[ "-$BUILD_TYPE-" == *-static-* ]]; then
|
if [[ "-$BUILD_TYPE-" == *-static-* ]]; then
|
||||||
$BUILD_TOOL package_source
|
$BUILD_TOOL package_source
|
||||||
@ -123,7 +122,8 @@ if [[ "-$BUILD_TYPE-" == *-static-* ]]; then
|
|||||||
|
|
||||||
$BUILD_TOOL
|
$BUILD_TOOL
|
||||||
|
|
||||||
$BUILD_TOOL test
|
ctest --output-on-failure -j$(nproc)
|
||||||
|
|
||||||
$BUILD_TOOL strip
|
$BUILD_TOOL strip
|
||||||
$BUILD_TOOL package
|
$BUILD_TOOL package
|
||||||
$BUILD_TOOL universal_upx
|
$BUILD_TOOL universal_upx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user