Update appveyor.yml

This commit is contained in:
Bay Dam
2020-04-15 12:58:40 +00:00
committed by GitHub
parent b739af6b26
commit 6d880745b9

View File

@@ -9,29 +9,29 @@ environment:
CONFIG: debug
install:
- set QTDIR=C:\Qt\5.10.1\mingw53_32
- set C:\Qt\5.14.1\mingw73_32
- set PATH=%PATH%;%QTDIR%\bin;C:\MinGW\bin
- ps: |
Write-Host "Installing GStreamer..." -ForegroundColor Cyan
$msiPath = "$($env:USERPROFILE)\gstreamer-1.0-x86_64-1.12.4.msi"
$msiPath = "$($env:USERPROFILE)\gstreamer-1.0-mingw-x86-1.16.2.msi"
$gstreamerPath = "C:\"
Write-Host "Downloading..."
(New-Object Net.WebClient).DownloadFile('https://gstreamer.freedesktop.org/data/pkg/windows/1.12.4/gstreamer-1.0-x86_64-1.12.4.msi', $msiPath)
(New-Object Net.WebClient).DownloadFile('https://gstreamer.freedesktop.org/data/pkg/windows/1.16.2/gstreamer-1.0-mingw-x86-1.16.2.msi', $msiPath)
Write-Host "Installing..."
cmd /c start /wait msiexec /package $msiPath /passive ADDLOCAL=ALL TARGETDIR=$gstreamerPath
Write-Host "Installed" -ForegroundColor Green
- ps: |
Write-Host "Installing GStreamer Devel..." -ForegroundColor Cyan
$msiPath = "$($env:USERPROFILE)\gstreamer-1.0-devel-x86_64-1.12.4.msi"
$msiPath = "$($env:USERPROFILE)\gstreamer-1.0-devel-mingw-x86-1.16.2.msi"
$gstreamerPath = "C:\"
Write-Host "Downloading..."
(New-Object Net.WebClient).DownloadFile('https://gstreamer.freedesktop.org/data/pkg/windows/1.12.4/gstreamer-1.0-devel-x86_64-1.12.4.msi', $msiPath)
(New-Object Net.WebClient).DownloadFile('https://gstreamer.freedesktop.org/data/pkg/windows/1.16.2/gstreamer-1.0-devel-mingw-x86-1.16.2.msi', $msiPath)
Write-Host "Installing..."
cmd /c start /wait msiexec /package $msiPath /passive ADDLOCAL=ALL TARGETDIR=$gstreamerPath
Write-Host "Installed" -ForegroundColor Green
- set GSTREAMER_1_0_ROOT_X86=C:\gstreamer\1.0\x86_64
- set GSTREAMER_1_0_ROOT_X86=C:\gstreamer\1.0\x86
build_script:
- qmake mapmap.pro