mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
windows: try to avoid random failures due to pre-existing gst-build clone
This is slightly weird, cause I am not sure what causes the clone to be there, since gitlab-runner supposedly always either use a clean volume or at least runs git clean on the existing ones. But its there and so we have to deal with failures like so https://gitlab.freedesktop.org/tpm/gstreamer-sharp/-/jobs/1672137
This commit is contained in:
parent
ad25b174a4
commit
28633f2fcf
1 changed files with 12 additions and 0 deletions
|
@ -441,6 +441,12 @@ valgrind ges:
|
||||||
-Dvaapi=disabled
|
-Dvaapi=disabled
|
||||||
-Ddevtools=disabled
|
-Ddevtools=disabled
|
||||||
script:
|
script:
|
||||||
|
# Sometimes there's seems to be an existing gst-build clone that comes either from the ether or
|
||||||
|
# from a previous job due to some gitlab bug or implicit behavior?
|
||||||
|
# So let's always check and clear it out if its there
|
||||||
|
# https://gitlab.freedesktop.org/tpm/gstreamer-sharp/-/jobs/1672137
|
||||||
|
- if (Test-Path $env:CI_PROJECT_DIR/gst-build) { Remove-Item -Recurse -Force $env:CI_PROJECT_DIR/gst-build }
|
||||||
|
|
||||||
# Make sure powershell exists on errors
|
# Make sure powershell exists on errors
|
||||||
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
|
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
|
||||||
- $ErrorActionPreference = "Stop"
|
- $ErrorActionPreference = "Stop"
|
||||||
|
@ -490,6 +496,12 @@ build msys2 :
|
||||||
extends: '.build windows'
|
extends: '.build windows'
|
||||||
timeout: '60min'
|
timeout: '60min'
|
||||||
script:
|
script:
|
||||||
|
# Sometimes there's seems to be an existing gst-build clone that comes either from the ether or
|
||||||
|
# from a previous job due to some gitlab bug or implicit behavior?
|
||||||
|
# So let's always check and clear it out if its there
|
||||||
|
# https://gitlab.freedesktop.org/tpm/gstreamer-sharp/-/jobs/1672137
|
||||||
|
- if (Test-Path $env:CI_PROJECT_DIR/gst-build) { Remove-Item -Recurse -Force $env:CI_PROJECT_DIR/gst-build }
|
||||||
|
|
||||||
# Make sure powershell exists on errors
|
# Make sure powershell exists on errors
|
||||||
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
|
# https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_preference_variables?view=powershell-6
|
||||||
- $ErrorActionPreference = "Stop"
|
- $ErrorActionPreference = "Stop"
|
||||||
|
|
Loading…
Reference in a new issue