Add debug info for macOS CI actions
This commit is contained in:
parent
e927184629
commit
f7e8739eac
@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# This script dumps information about the build environment to stdout.
|
# This script dumps information about the build environment to stdout.
|
||||||
|
|
||||||
|
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
IFS=$'\n\t'
|
IFS=$'\n\t'
|
||||||
|
|
||||||
@ -17,3 +19,17 @@ set +o pipefail
|
|||||||
du . | sort -nr | head -n100
|
du . | sort -nr | head -n100
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
if isMacOS
|
||||||
|
then
|
||||||
|
# Debugging information that might be helpful for diagnosing macOS
|
||||||
|
# performance issues.
|
||||||
|
# SIP
|
||||||
|
csrutil status
|
||||||
|
# Gatekeeper
|
||||||
|
spctl --status
|
||||||
|
# Authorization policy
|
||||||
|
DevToolsSecurity -status
|
||||||
|
# Spotlight status
|
||||||
|
mdutil -avs
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user