diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e338a0bd75..460b22b9e4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,7 +27,7 @@ variables: ### FEDORA_TAG: '2021-12-03.1' INDENT_TAG: '2021-10-04.0' - WINDOWS_TAG: "2022-06-28.0-1.20" + WINDOWS_TAG: "2022-06-28.1-1.20" GST_UPSTREAM_REPO: 'gstreamer/gstreamer' FDO_UPSTREAM_REPO: 'gstreamer/gstreamer' diff --git a/ci/docker/windows/Dockerfile b/ci/docker/windows/Dockerfile index 45921ecb74..1e68e55479 100644 --- a/ci/docker/windows/Dockerfile +++ b/ci/docker/windows/Dockerfile @@ -19,6 +19,11 @@ RUN choco install -y 7zip RUN choco install -y python3 RUN choco install -y msys2 --params '/NoPath /NoUpdate /InstallDir:C:\\msys64' +# Remove MAX_PATH limit of 260 characters +RUN New-ItemProperty -Path 'HKLM:\\SYSTEM\\CurrentControlSet\\Control\\FileSystem' ` + -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force +RUN git config --system core.longpaths true + RUN c:\msys64\usr\bin\bash -lc 'pacman -S --noconfirm mingw-w64-ucrt-x86_64-toolchain ninja' # Visual Studio can't be installed with choco. # It depends on dotnetfx v4.8.0.20190930, which requires a reboot: dotnetfx (exit code 3010)