1
0
Fork 0
dosbox-staging/scripts/log-env.ps1
Patryk Obara 52a958270f Log environment on CI machines
log-env.sh is cross-platform (works on Linux, MacOS and Windows)

log-env.ps1 is Windows-only and requirs specifying pwsh shell, but
provides some Windows-specific information, that might be useful e.g.
for MSVC builds.
2019-10-26 00:52:03 +02:00

13 lines
256 B
PowerShell

# To use this script in GitHub Actions job:
#
# - name: "Log environment"
# shell: pwsh
# run: .\scripts\log-env.ps1
#
# This script works only on Windows.
# see also script: log-env.sh
Set-PSDebug -Trace 1
systeminfo
gci env:
Set-PSDebug -Trace 0