2019-07-12 23:12:49 +00:00
|
|
|
version: 1.0.{build}
|
2019-10-17 13:45:32 +00:00
|
|
|
image: Visual Studio 2019
|
2019-07-12 23:12:49 +00:00
|
|
|
|
|
|
|
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%
|
2019-10-17 14:09:54 +00:00
|
|
|
- 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"
|
|
|
|
|
|
|
|
cmd /c start /wait $exePath /P $installPath /U
|
|
|
|
|
|
|
|
Add-Path $installPath
|
|
|
|
|
|
|
|
Add-SessionPath $installPath
|
|
|
|
|
|
|
|
|
|
|
|
Remove-Item $exePath
|
|
|
|
|
|
|
|
Write-Host "Installed" -ForegroundColor Green
|
2019-07-12 23:12:49 +00:00
|
|
|
build_script:
|
2019-07-25 09:31:53 +00:00
|
|
|
- 7z a fbn-code.7z %APPVEYOR_BUILD_FOLDER%\*
|
2019-07-12 23:12:49 +00:00
|
|
|
- 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"
|
2019-08-29 08:55:32 +00:00
|
|
|
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && mingw32-make mingw510 -j5 RELEASEBUILD=1 SKIPDEPEND=1"
|
2019-08-04 22:15:17 +00:00
|
|
|
- 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
|
2019-08-29 08:55:32 +00:00
|
|
|
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && rm -rf obj && mingw32-make mingw510 -j5 SKIPDEPEND=1"
|
2019-08-04 22:15:17 +00:00
|
|
|
- 7z a fbn-win32-debug-gcc.7z %APPVEYOR_BUILD_FOLDER%\fbneod.exe %APPVEYOR_BUILD_FOLDER%\fba.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html %APPVEYOR_BUILD_FOLDER%\projectfiles\visualstudio-2019\generated\gamelist.txt
|
2019-08-02 14:19:59 +00:00
|
|
|
- 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 %APPVEYOR_BUILD_FOLDER%\projectfiles\visualstudio-2019\generated\gamelist.txt
|
|
|
|
- 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 %APPVEYOR_BUILD_FOLDER%\projectfiles\visualstudio-2019\generated\gamelist.txt
|
2019-07-25 09:31:53 +00:00
|
|
|
|
|
|
|
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
|
2019-07-29 16:01:18 +00:00
|
|
|
- path: fbn-win32-debug-gcc.7z
|
|
|
|
name: win32-bin-debug-gcc
|
2019-07-12 23:12:49 +00:00
|
|
|
# Test scripts
|
2019-07-25 09:31:53 +00:00
|
|
|
test: off
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
- provider: GitHub
|
|
|
|
tag: appveyor-build
|
2019-07-28 21:43:02 +00:00
|
|
|
description: github-commit-%APPVEYOR_REPO_COMMIT%
|
2019-07-25 09:31:53 +00:00
|
|
|
force_update: true
|
|
|
|
on:
|
|
|
|
branch: master # release from master branch only
|
|
|
|
auth_token:
|
|
|
|
secure: cC6FjF22axzOF1Y1+B2DfieS+B3KAHeUTefa7k/iq7MJjqaj/OjQ01EWN+Ga5r6v
|
2019-07-28 21:54:49 +00:00
|
|
|
repository: finalburnneo/FBNeo-WIP-Storage-Facility
|
2019-08-03 08:50:42 +00:00
|
|
|
artifact: win32-bin-vs, x64-bin-vs, source, win32-bin-gcc, win32-bin-debug-gcc
|