gstreamer-rs/ci/windows-docker
Nirbheek Chauhan 52c764b986 ci: Fix pwsh scripts not exiting on error
We all know that external utilities returning a non-zero exit code do
not terminate a powershell script. However, most do not know (and
neither did I) that it is impossible to promote error exit codes to
script-terminating errors with ErrorActionPreference.

Explicitly check the return codes and Exit.

https://github.com/MicrosoftDocs/PowerShell-Docs/issues/1583

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1368>
2023-12-21 14:10:41 +02:00
..
container.ps1 ci: add an msvc 2017 test 2022-05-18 19:51:49 +03:00
Dockerfile ci: Fix pwsh scripts not exiting on error 2023-12-21 14:10:41 +02:00
install_dav1d.ps1 ci: windows: Update to dav1d 1.1.0 2023-02-20 10:42:07 +02:00
install_gst.ps1 ci: Fix pwsh scripts not exiting on error 2023-12-21 14:10:41 +02:00