We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e927184 commit f7e8739Copy full SHA for f7e8739
src/ci/scripts/dump-environment.sh
@@ -1,6 +1,8 @@
1
#!/bin/bash
2
# This script dumps information about the build environment to stdout.
3
4
+source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
5
+
6
set -euo pipefail
7
IFS=$'\n\t'
8
@@ -17,3 +19,17 @@ set +o pipefail
17
19
du . | sort -nr | head -n100
18
20
set -o pipefail
21
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