Skip to content

Commit 84c2407

Browse files
committed
debug build
1 parent b779e4b commit 84c2407

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

ci/cloudbuild/builds/cmake-oldest-deps.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ readonly ENABLED_FEATURES
3535

3636
export VCPKG_OVERLAY_PORTS="ci/gha/builds/vcpkg-overlays"
3737

38+
function exit_trap() {
39+
local exit_status=$?
40+
io::log_h2 "cleanup on EXIT with exit_status=${exit_status}"
41+
if ((exit_status != 0)); then
42+
cat /workspace/cmake-out/build/vcpkg-manifest-install.log
43+
fi
44+
}
45+
46+
trap 'exit_trap' INT TERM EXIT
47+
3848
io::log_h2 "Configuring"
3949
vcpkg_root="$(vcpkg::root_dir)"
4050
cmake -GNinja -S . -B cmake-out/build \

0 commit comments

Comments
 (0)