/
avrong
/
rust-lang
Обзор
Документация
Войти
/
avrong
/
rust-lang
Код
Запросы
0
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/ci/scripts/dump-environment.sh
35 строк
636 B
Eric Huss
Add debug info for macOS CI actions
10 янв 2024, 21:54
10 янв 2024, 21:54
f7e8739
Код
Авторство
О чём код?
#!/bin/bash # This script dumps information about the build environment to stdout. source "$(cd "$(dirname "$0")" && pwd)/../shared.sh" set -euo pipefail IFS=$'\n\t' echo "environment variables:" printenv | sort echo echo "disk usage:" df -h echo echo "biggest files in the working dir:" set +o pipefail du . | sort -nr | head -n100 set -o pipefail 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