2018-06-03 20:37:26 +02:00
|
|
|
version: 1.0.{build}
|
2018-11-23 11:00:24 +01:00
|
|
|
image:
|
2019-10-18 16:30:48 +02:00
|
|
|
- Visual Studio 2017
|
2019-09-26 05:44:36 +02:00
|
|
|
- Visual Studio 2019
|
2018-06-03 20:37:26 +02:00
|
|
|
|
|
|
|
shallow_clone: true
|
|
|
|
clone_depth: 1
|
|
|
|
|
2019-09-17 21:41:44 +02:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- BUILD: GCC
|
|
|
|
- BUILD: MSVC
|
|
|
|
|
2019-10-18 16:30:48 +02:00
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- image: Visual Studio 2017
|
|
|
|
BUILD: MSVC
|
|
|
|
- image: Visual Studio 2019
|
|
|
|
BUILD: GCC
|
|
|
|
|
2018-06-03 20:37:26 +02:00
|
|
|
install:
|
|
|
|
- set "PATH=C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Windows\System32;C:\Windows;%PATH%"
|
|
|
|
- set MSYSTEM=MINGW64
|
2019-09-26 07:17:36 +02:00
|
|
|
|
2018-06-03 20:37:26 +02:00
|
|
|
build_script:
|
2020-08-12 18:54:22 +02:00
|
|
|
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && export MINGW64=/mingw64 && make SUBTARGET=ci PTR64=1 TOOLS=1 OPTIMIZE=0 vs2019 -j3"
|
|
|
|
- msbuild "build\projects\windows\mameci\vs2019\mameci.sln" /m /p:ContinueOnError=false /p:StopOnFirstFailure=true /property:Configuration=Debug /property:Platform=x64 /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
2019-09-17 21:41:44 +02:00
|
|
|
for:
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- BUILD: GCC
|
2019-09-29 15:30:18 +02:00
|
|
|
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
|
2020-07-25 23:20:29 +02:00
|
|
|
- bash -lc "curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz"
|
|
|
|
- bash -lc "curl -O http://repo.msys2.org/msys/x86_64/msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig"
|
2020-07-29 07:38:26 +02:00
|
|
|
- bash -lc "pacman-key --verify msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz.sig"
|
2020-07-25 23:20:29 +02:00
|
|
|
- bash -lc "pacman -U --noconfirm msys2-keyring-r21.b39fb11-1-any.pkg.tar.xz"
|
2019-09-29 15:30:18 +02:00
|
|
|
- bash -lc "pacman -Syu --noconfirm"
|
2020-07-25 23:20:29 +02:00
|
|
|
- taskkill /f /fi "MODULES eq msys-2.0.dll"
|
2019-10-18 16:30:48 +02:00
|
|
|
- bash -lc "pacman -Syu --noconfirm"
|
2019-09-17 21:41:44 +02:00
|
|
|
build_script:
|
2020-08-12 18:54:22 +02:00
|
|
|
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && export MINGW64=/mingw64 && make SUBTARGET=ci PTR64=1 TOOLS=1 OPTIMIZE=3 IGNORE_GIT=1 -j3"
|
2019-09-17 21:41:44 +02:00
|
|
|
test_script:
|
2020-08-12 18:54:22 +02:00
|
|
|
- \projects\mame\mameci64.exe -validate
|
2019-09-17 21:41:44 +02:00
|
|
|
after_test:
|
2020-08-12 18:54:22 +02:00
|
|
|
- 7z a mameci64-appveyor-%APPVEYOR_REPO_BRANCH%-%APPVEYOR_REPO_COMMIT%-%APPVEYOR_BUILD_NUMBER%.7z %APPVEYOR_BUILD_FOLDER%\*.exe %APPVEYOR_BUILD_FOLDER%\artwork %APPVEYOR_BUILD_FOLDER%\bgfx %APPVEYOR_BUILD_FOLDER%\ctrlr %APPVEYOR_BUILD_FOLDER%\docs %APPVEYOR_BUILD_FOLDER%\hash %APPVEYOR_BUILD_FOLDER%\hlsl %APPVEYOR_BUILD_FOLDER%\ini %APPVEYOR_BUILD_FOLDER%\language %APPVEYOR_BUILD_FOLDER%\nl_examples %APPVEYOR_BUILD_FOLDER%\plugins %APPVEYOR_BUILD_FOLDER%\roms %APPVEYOR_BUILD_FOLDER%\samples
|
|
|
|
- appveyor PushArtifact mameci64-appveyor-%APPVEYOR_REPO_BRANCH%-%APPVEYOR_REPO_COMMIT%-%APPVEYOR_BUILD_NUMBER%.7z
|
2019-09-17 21:41:44 +02:00
|
|
|
|
2018-06-03 20:37:26 +02:00
|
|
|
test_script:
|
2020-08-12 18:54:22 +02:00
|
|
|
- \projects\mame\mameci64d.exe -validate
|
2018-06-03 20:37:26 +02:00
|
|
|
|
|
|
|
after_test:
|
2020-08-12 18:54:22 +02:00
|
|
|
- 7z a mameci64d-appveyor-%APPVEYOR_REPO_BRANCH%-%APPVEYOR_REPO_COMMIT%-%APPVEYOR_BUILD_NUMBER%.7z %APPVEYOR_BUILD_FOLDER%\*.exe %APPVEYOR_BUILD_FOLDER%\artwork %APPVEYOR_BUILD_FOLDER%\bgfx %APPVEYOR_BUILD_FOLDER%\ctrlr %APPVEYOR_BUILD_FOLDER%\docs %APPVEYOR_BUILD_FOLDER%\hash %APPVEYOR_BUILD_FOLDER%\hlsl %APPVEYOR_BUILD_FOLDER%\ini %APPVEYOR_BUILD_FOLDER%\language %APPVEYOR_BUILD_FOLDER%\nl_examples %APPVEYOR_BUILD_FOLDER%\plugins %APPVEYOR_BUILD_FOLDER%\roms %APPVEYOR_BUILD_FOLDER%\samples
|
|
|
|
- appveyor PushArtifact mameci64d-appveyor-%APPVEYOR_REPO_BRANCH%-%APPVEYOR_REPO_COMMIT%-%APPVEYOR_BUILD_NUMBER%.7z
|