add appveyor config file so GCC and VS2019 builds are both run on a commit

This commit is contained in:
tmaul 2019-07-13 00:12:49 +01:00
parent 3513b4e1ca
commit 9a258c318d

20
appveyor.yml Normal file
View File

@ -0,0 +1,20 @@
version: 1.0.{build}
image: Visual Studio 2019 Preview
shallow_clone: true
clone_depth: 1
install:
- set "PATH=C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\Windows\System32;C:\Windows;%PATH%"
- set MSYSTEM=MINGW32
- set PreferredToolArchitecture=x86
- choco install nasm
- set PATH="C:\Program Files\NASM";%PATH%
build_script:
- 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</dev/null && cd $APPVEYOR_BUILD_FOLDER && mingw32-make mingw510 -j20"
# Test scripts
test: off