Update appveyor.yml

no lolz
This commit is contained in:
tmaul 2019-10-20 19:59:48 +01:00 committed by GitHub
parent 2c10ee1320
commit 54479d2874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,20 +5,30 @@ shallow_clone: true
clone_depth: 1
init:
- ps: >-
Write-Host "DirectX Software Development Kit..." -ForegroundColor Cyan
Write-Host "DirectX Software Development Kit..." -ForegroundColor Cyan
Write-Host "Downloading..."
$exePath = "$env:temp\DXSDK_Jun10.exe"
(New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe', $exePath)
Write-Host "Installing..."
$installPath = "C:\DXSDK"
cmd /c start /wait $exePath /P $installPath /U
Add-Path $installPath
Add-SessionPath $installPath
Write-Host "Downloading..."
Remove-Item $exePath
Write-Host "Installed" -ForegroundColor Green
$exePath = "$env:temp\DXSDK_Jun10.exe"
(New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe', $exePath)
Write-Host "Installing..."
$installPath = "C:\DXSDK"
cmd /c start /wait $exePath /P $installPath /U
Add-Path $installPath
Add-SessionPath $installPath
Remove-Item $exePath
Write-Host "Installed" -ForegroundColor Green
install:
- set "PATH=C:\DXSDK;C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\Windows\System32;C:\Windows;%PATH%"
- set DXSDK_DIR=C:\DXSDK\