aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Dyomin <artem.dyomin@qt.io>2022-10-26 17:40:25 +0200
committerArtem Dyomin <artem.dyomin@qt.io>2022-11-10 05:36:11 +0100
commitbc5662c0500cd9c3aa57b3d295a7d885ed09e3f1 (patch)
tree0b98350ae67d71211c44f86ed20dc120de5f6de1
parent12f0f9e0e5efb5d01deb5173aadddf797b31873a (diff)
Fix ffmpeg build on windows CI
Ffmpeg was not compiled because of failed yasm installation on msys2. The installation failed due to checking pgp signatures. Current fix adds keys refreshing that fixes the problem (checked on CI and on local machine) Note, currently the ffmpeg build works with msvc and mingw, additional settings for llvm should be added in next commits. Build example: https://testresults.qt.io/coin/integration/qt/qtmultimedia/tasks/web_qt_qtmultimedia_1667916985085 Pick-to: 6.4 Change-Id: Iff305e896bfb382c0c4030235cc2ad942cbbc002 Reviewed-by: Lars Knoll <lars@knoll.priv.no>
-rw-r--r--coin/provisioning/common/windows/install-msys2.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/provisioning/common/windows/install-msys2.ps1 b/coin/provisioning/common/windows/install-msys2.ps1
index 0f704a3f..f3034ce6 100644
--- a/coin/provisioning/common/windows/install-msys2.ps1
+++ b/coin/provisioning/common/windows/install-msys2.ps1
@@ -71,7 +71,7 @@ if ((Test-Path $url_cache_prebuilt)) {
# install perl make and yasm
# Run these without 'Run-Executable' function. When using the function the gpg-agent will lock the needed tmp*.tmp file.
- cmd /c "$msys `"-l`" `"-c`" `"rm -rf /etc/pacman.d/gnupg;pacman-key --init;pacman-key --populate msys2;pacman -S --noconfirm perl make yasm`""
+ cmd /c "$msys `"-l`" `"-c`" `"rm -rf /etc/pacman.d/gnupg;pacman-key --init;pacman-key --populate msys2;pacman-key --refresh;pacman -S --noconfirm perl make yasm`""
Start-Sleep -s 60
cmd /c "$msys `"-l`" `"-c`" `"echo y | cpan -i Text::Template Test::More`""