version: 1.0.{build} image: Visual Studio 2019 shallow_clone: true clone_depth: 1 #init: #- ps: >- # 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:\Program Files (x86)\Microsoft DirectX SDK (June 2010)" # cmd /c start /wait $exePath /U # Add-Path $installPath # Write-Host "Installed" -ForegroundColor Green install: - set "PATH=C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\Windows\System32;C:\Windows;%PATH%" # - set "DXSDK_DIR=C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\" - set MSYSTEM=MINGW32 - set PreferredToolArchitecture=x86 - choco install nasm - set PATH="C:\Program Files\NASM";%PATH% build_script: - 7z a fbn-code.7z %APPVEYOR_BUILD_FOLDER%\* # - msbuild "projectfiles\visualstudio-2019\fba_vs2019.sln" /m /property:Configuration=Release /property:Platform=x86 /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" # - msbuild "projectfiles\visualstudio-2019\fba_vs2019.sln" /m /property:Configuration=Release /property:Platform=x64 /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" - bash -lc "exec 0