FBNeo/appveyor.yml

51 lines
2.8 KiB
YAML
Raw Normal View History

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:
- 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</dev/null && cd $APPVEYOR_BUILD_FOLDER && mingw32-make mingw510 -j20 RELEASEBUILD=1 SKIPDEPEND=1"
- 7z a fbn-win32-gcc.7z %APPVEYOR_BUILD_FOLDER%\*.exe %APPVEYOR_BUILD_FOLDER%\fba.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html
# - bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && mingw32-make mingw510 clean RELEASEBUILD=1 SKIPDEPEND=1"
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && mingw32-make mingw510 -j20 RELEASEBUILD=1 XPBUILD=1 SKIPDEPEND=1"
- 7z a fbn-win32-gcc-xp.7z %APPVEYOR_BUILD_FOLDER%\*.exe %APPVEYOR_BUILD_FOLDER%\fba.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html
- 7z a fbn-win32-vs.7z %APPVEYOR_BUILD_FOLDER%\projectfiles\visualstudio-2019\Win32\Release\*.exe %APPVEYOR_BUILD_FOLDER%\fba.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html
- 7z a fbn-x64-vs.7z %APPVEYOR_BUILD_FOLDER%\projectfiles\visualstudio-2019\x64\Release\*.exe %APPVEYOR_BUILD_FOLDER%\fba.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html
artifacts:
- path: fbn-code.7z
name: source
- path: fbn-win32-vs.7z
name: win32-bin-vs
- path: fbn-x64-vs.7z
name: x64-bin-vs
- path: fbn-win32-gcc.7z
name: win32-bin-gcc
- path: fbn-win32-gcc-xp.7z
name: win32-bin-gcc-xp
# Test scripts
test: off
deploy:
- provider: GitHub
tag: appveyor-build
2019-07-28 21:00:56 +00:00
description: github-%APPVEYOR_REPO_COMMIT%-$APPVEYOR_REPO_COMMIT-$(APPVEYOR_PULL_REQUEST_HEAD_COMMIT)
force_update: true
on:
branch: master # release from master branch only
auth_token:
secure: cC6FjF22axzOF1Y1+B2DfieS+B3KAHeUTefa7k/iq7MJjqaj/OjQ01EWN+Ga5r6v
repository: tmaul/fbneo-releases
artifact: win32-bin-vs, x64-bin-vs, source, win32-bin-gcc, win32-bin-gcc-xp