FBNeo/appveyor.yml

59 lines
3.6 KiB
YAML
Raw Normal View History

version: 1.0.{build}
2020-02-08 21:27:52 +00:00
image: Visual Studio 2015
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
shallow_clone: true
clone_depth: 1
2019-10-17 14:11:47 +00:00
install:
- 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%
build_script:
- 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
after_build:
2020-02-09 00:20:01 +00:00
- set package_name=%build_type%
artifacts:
- path: %build_type%.7z
name: $(packagename)
test: off
deploy:
- provider: GitHub
tag: appveyor-build
2019-07-28 21:43:02 +00:00
description: github-commit-%APPVEYOR_REPO_COMMIT%
force_update: true
on:
branch: master # release from master branch only
auth_token:
secure: cC6FjF22axzOF1Y1+B2DfieS+B3KAHeUTefa7k/iq7MJjqaj/OjQ01EWN+Ga5r6v
repository: finalburnneo/FBNeo-WIP-Storage-Facility
artifact: $(packagename)