mirror of
https://github.com/encounter/linuxdeploy.git
synced 2026-07-10 12:18:44 -07:00
Fix test execution in CI build script
This commit is contained in:
@@ -49,5 +49,6 @@ add_subdirectory(src)
|
||||
|
||||
include(CTest)
|
||||
if(BUILD_TESTING)
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ cmake --version
|
||||
# configure build for AppImage release
|
||||
cmake "$REPO_ROOT" -DSTATIC_BUILD=On -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo "${EXTRA_CMAKE_ARGS[@]}"
|
||||
|
||||
make -j"$(nproc)" linuxdeploy
|
||||
make -j"$(nproc)"
|
||||
|
||||
## Run Unit Tests
|
||||
ctest -V
|
||||
|
||||
Reference in New Issue
Block a user