Skip to content
Snippets Groups Projects
Commit b416dfea authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'ci-unmount-image' into release


caac9831 gitlab-ci: unmount images in `after_script`

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !1176
parents fe0f1537 caac9831
No related branches found
No related tags found
No related merge requests found
Pipeline #389371 failed
#!/bin/sh
set -e
if ! [ -d "build/__mount" ]; then
exit 0
fi
# Detach the mount point.
if ! hdiutil detach -verbose "build/__mount"; then
echo "Failed to detach mounted image…forcing"
hdiutil detach -force -verbose "build/__mount"
fi
......@@ -109,6 +109,9 @@
- ctest -V --output-on-failure -S .gitlab/ci/ctest_package.cmake
- sccache --show-stats
after_script:
- .gitlab/ci/umount-dmg.sh
cache:
key: macos
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment