Skip to content
Snippets Groups Projects
Commit caac9831 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

gitlab-ci: unmount images in `after_script`

parent fe0f1537
No related branches found
No related tags found
1 merge request!1176gitlab-ci: unmount images in `after_script`
Pipeline #388017 waiting for manual action
#!/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