diff options
author | Julian Sikorski <belegdol+github@gmail.com> | 2019-09-29 15:30:18 +0200 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2019-09-29 09:30:18 -0400 |
commit | ed2b7e5ef1626c0d6318b6ea71897efbb4356277 (patch) | |
tree | 62a84a4a2c804922839dbfa60ec664b84beaaee0 /.appveyor.yml | |
parent | 1bd1288c9e17bdba9544d1e56be7618106fece7e (diff) |
Synced with GENie upstream revision e78d6c1 (#5631)
* Synced with GENie upstream revision e78d6c1
* Add Visual Studio 2019 support
* Fix hardcoded -m64
* Switch appveyor to Visual Studio 2019
* Fix genie being built as 32-bit
* MSVC build is known to be broken currently. Let it fail until all the known issues are fixed.
* Update the packages before building
* Build with 3 threads
Appveyor VMs have only 2 cores and 8 GB RAM.
* Enable caching of pacman cache
Diffstat (limited to '.appveyor.yml')
-rw-r--r-- | .appveyor.yml | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 884f95ae5c0..ff2686d4adc 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,9 +1,6 @@ version: 1.0.{build} image: -# - Visual Studio 2017 -# - Visual Studio 2017 Preview - Visual Studio 2019 -# - Previous Visual Studio 2017 shallow_clone: true clone_depth: 1 @@ -13,32 +10,32 @@ environment: - BUILD: GCC - BUILD: MSVC -matrix: - exclude: - - image: Visual Studio 2017 Preview - BUILD: GCC - - image: Visual Studio 2019 - BUILD: GCC - - image: Previous Visual Studio 2017 - BUILD: GCC - install: - set "PATH=C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Windows\System32;C:\Windows;%PATH%" - set MSYSTEM=MINGW64 - set PreferredToolArchitecture=x64 - - cinst windows-sdk-8.1 build_script: - - bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && make SUBTARGET=tiny PTR64=1 TOOLS=1 OPTIMIZE=0 vs2017 -j4" - - msbuild "build\projects\windows\mametiny\vs2017\mametiny.sln" /m /p:ContinueOnError=false /p:StopOnFirstFailure=true /property:Configuration=Debug /property:Platform=x64 /p:PlatformToolset=v142 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" + - bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && export MINGW64=/mingw64 && make SUBTARGET=tiny PTR64=1 TOOLS=1 OPTIMIZE=0 vs2019 -j3" + - msbuild "build\projects\windows\mametiny\vs2019\mametiny.sln" /m /p:ContinueOnError=false /p:StopOnFirstFailure=true /property:Configuration=Debug /property:Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" + +matrix: + allow_failures: + - BUILD: MSVC for: - matrix: only: - BUILD: GCC + cache: + - C:\msys64\var\cache\pacman\pkg + install: + - set "PATH=C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Windows\System32;C:\Windows;%PATH%" + - set MSYSTEM=MINGW64 + - bash -lc "pacman -Syu --noconfirm" build_script: - - bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && export MINGW64=/mingw64 && make SUBTARGET=tiny PTR64=1 OPTIMIZE=0 ARCHOPTS=-Wa,-mbig-obj IGNORE_GIT=1 -j4" + - bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && export MINGW64=/mingw64 && make SUBTARGET=tiny PTR64=1 OPTIMIZE=0 ARCHOPTS=-Wa,-mbig-obj IGNORE_GIT=1 -j3" test_script: - \projects\mame\mametiny64.exe -validate after_test: |