2019-07-12 23:12:49 +00:00
|
|
|
version: 1.0.{build}
|
2020-02-08 21:27:52 +00:00
|
|
|
image: Visual Studio 2015
|
2019-07-12 23:12:49 +00:00
|
|
|
|
2020-02-09 00:19:17 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
build_type: fbn-latestgcc
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
build_type: fbn-latestgcc-debug
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
build_type: fbn-source
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
build_type: fbn-xp
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
build_type: fbn-xp-debug
|
|
|
|
|
2019-07-12 23:12:49 +00:00
|
|
|
shallow_clone: true
|
|
|
|
clone_depth: 1
|
2019-10-17 14:11:47 +00:00
|
|
|
install:
|
2020-02-09 00:19:17 +00:00
|
|
|
- if "%build_type%"=="fbn-xp" set "PATH=C:\DXSDK;C:\MinGW\bin;C:\Windows\System32;C:\Windows;%PATH%"
|
|
|
|
- if "%build_type%"=="fbn-xp-debug" set "PATH=C:\DXSDK;C:\MinGW\bin;C:\Windows\System32;C:\Windows;%PATH%"
|
|
|
|
- if "%build_type%"=="fbn-latestgcc" set "PATH=C:\DXSDK;C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\Windows\System32;C:\Windows;%PATH%"
|
|
|
|
- if "%build_type%"=="fbn-latestgcc-debug" set "PATH=C:\DXSDK;C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\Windows\System32;C:\Windows;%PATH%"
|
2019-10-17 14:11:47 +00:00
|
|
|
- set MSYSTEM=MINGW32
|
|
|
|
- set PreferredToolArchitecture=x86
|
|
|
|
- choco install nasm
|
|
|
|
- set PATH="C:\Program Files\NASM";%PATH%
|
2019-07-12 23:12:49 +00:00
|
|
|
build_script:
|
2020-02-09 00:19:17 +00:00
|
|
|
- if "%build_type%"=="fbn-source" 7z a %build_type%.7z %APPVEYOR_BUILD_FOLDER%\*
|
|
|
|
- if "%build_type%"=="fbn-xp" 7z x %APPVEYOR_BUILD_FOLDER%\src\dep\mingw\dxsdk.7z -o%APPVEYOR_BUILD_FOLDER%\src\dep\mingw -r -aoa
|
|
|
|
- if "%build_type%"=="fbn-xp" bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && mingw32-make mingw510 -j5 RELEASEBUILD=1 SKIPDEPEND=1"
|
|
|
|
- if "%build_type%"=="fbn-xp" 7z a %build_type%.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
|
|
|
|
- if "%build_type%"=="fbn-xp-debug" 7z x %APPVEYOR_BUILD_FOLDER%\src\dep\mingw\dxsdk.7z -o%APPVEYOR_BUILD_FOLDER%\src\dep\mingw -r -aoa
|
|
|
|
- if "%build_type%"=="fbn-xp-debug" bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && rm -rf obj && mingw32-make mingw510 -j5 SKIPDEPEND=1"
|
|
|
|
- if "%build_type%"=="fbn-xp-debug" 7z a %build_type%.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
|
|
|
|
- if "%build_type%"=="fbn-latestgcc" bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && mingw32-make mingw510 -j5 RELEASEBUILD=1 SKIPDEPEND=1 USE_UCRT=1"
|
|
|
|
- if "%build_type%"=="fbn-latestgcc" 7z a %build_type%.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
|
|
|
|
- if "%build_type%"=="fbn-latestgcc-debug" bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && rm -rf obj && mingw32-make mingw510 -j5 SKIPDEPEND=1 USE_UCRT=1"
|
|
|
|
- if "%build_type%"=="fbn-latestgcc-debug" 7z a %build_type%.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
|
2020-02-09 00:24:15 +00:00
|
|
|
|
2019-07-25 09:31:53 +00:00
|
|
|
artifacts:
|
2020-02-09 00:25:29 +00:00
|
|
|
- path: $(build_type).7z
|
2020-02-09 00:24:15 +00:00
|
|
|
name: $(build_type)
|
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
|
2020-02-09 00:24:15 +00:00
|
|
|
artifact: $(build_type)
|
2020-01-30 21:59:31 +00:00
|
|
|
|