Skip to content

Commit f7e8739

Browse files
committed
Add debug info for macOS CI actions
1 parent e927184 commit f7e8739

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: src/ci/scripts/dump-environment.sh

+16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
# This script dumps information about the build environment to stdout.
33

4+
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
5+
46
set -euo pipefail
57
IFS=$'\n\t'
68

@@ -17,3 +19,17 @@ set +o pipefail
1719
du . | sort -nr | head -n100
1820
set -o pipefail
1921
echo
22+
23+
if isMacOS
24+
then
25+
# Debugging information that might be helpful for diagnosing macOS
26+
# performance issues.
27+
# SIP
28+
csrutil status
29+
# Gatekeeper
30+
spctl --status
31+
# Authorization policy
32+
DevToolsSecurity -status
33+
# Spotlight status
34+
mdutil -avs
35+
fi

0 commit comments

Comments
 (0)