Release: make RelWithDebInfo instead of Release
Signed modular release / publish (push) Failing after 22m49s
Signed modular release / publish (push) Failing after 22m49s
This commit is contained in:
2 files changed
+5
-5
No files matched your search
+4
-4
@@ -386,12 +386,12 @@ cmake -E rm -rf "$web_frontend/web-dist"
|
||||
cd "$source_dir"
|
||||
cmake "${configure_args[@]}"
|
||||
)
|
||||
build_args=(--build "$build_dir" --config Release)
|
||||
build_args=(--build "$build_dir" --config RelWithDebInfo)
|
||||
[[ -n $jobs ]] && build_args+=(--parallel "$jobs")
|
||||
cmake "${build_args[@]}"
|
||||
|
||||
if ((run_tests)); then
|
||||
ctest --test-dir "$build_dir" --build-config Release --output-on-failure
|
||||
ctest --test-dir "$build_dir" --build-config RelWithDebInfo --output-on-failure
|
||||
npm --prefix "$web_frontend" test
|
||||
npm --prefix "$web_frontend" run i18n:check
|
||||
fi
|
||||
@@ -399,7 +399,7 @@ fi
|
||||
stage="$build_dir/runtime-stage"
|
||||
safe_remove_tree "$stage"
|
||||
cmake --install "$build_dir" \
|
||||
--config Release \
|
||||
--config RelWithDebInfo \
|
||||
--component Runtime \
|
||||
--prefix "$stage"
|
||||
|
||||
@@ -576,7 +576,7 @@ if ((package_components)); then
|
||||
while IFS=$'\t' read -r component_id package_id; do
|
||||
component_root="$component_stage_root/$package_id"
|
||||
cmake --install "$build_dir" \
|
||||
--config Release \
|
||||
--config RelWithDebInfo \
|
||||
--component "Package${component_id}" \
|
||||
--prefix "$component_root"
|
||||
|
||||
|
||||
Reference in new issue
Block a user