2019-07-12 23:12:49 +00:00
|
|
|
version: 1.0.{build}
|
2020-07-05 15:13:11 +00:00
|
|
|
image: Visual Studio 2015
|
2019-07-12 23:12:49 +00:00
|
|
|
|
2020-02-09 00:19:17 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
2020-09-16 10:01:06 +00:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
build_type: fbn-source
|
2020-08-02 08:02:13 +00:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
2020-02-09 00:58:59 +00:00
|
|
|
build_type: fbn-win32-gcc
|
2020-08-02 08:02:13 +00:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
2020-02-09 00:58:59 +00:00
|
|
|
build_type: fbn-win32-debug-gcc
|
2020-02-09 00:19:17 +00:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2020-02-09 00:58:59 +00:00
|
|
|
build_type: fbn-xp-gcc
|
2020-02-09 00:19:17 +00:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2020-02-09 00:58:59 +00:00
|
|
|
build_type: fbn-xp-debug-gcc
|
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:58:59 +00:00
|
|
|
- if "%build_type%"=="fbn-xp-gcc" set "PATH=C:\DXSDK;C:\MinGW\bin;C:\Windows\System32;C:\Windows;%PATH%"
|
|
|
|
- if "%build_type%"=="fbn-xp-debug-gcc" set "PATH=C:\DXSDK;C:\MinGW\bin;C:\Windows\System32;C:\Windows;%PATH%"
|
|
|
|
- if "%build_type%"=="fbn-win32-gcc" set "PATH=C:\DXSDK;C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\Windows\System32;C:\Windows;%PATH%"
|
|
|
|
- if "%build_type%"=="fbn-win32-debug-gcc" 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%\*
|
2020-02-09 00:58:59 +00:00
|
|
|
- if "%build_type%"=="fbn-xp-gcc" 7z x %APPVEYOR_BUILD_FOLDER%\src\dep\mingw\dxsdk.7z -o%APPVEYOR_BUILD_FOLDER%\src\dep\mingw -r -aoa
|
|
|
|
- if "%build_type%"=="fbn-xp-gcc" bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && mingw32-make mingw510 -j5 RELEASEBUILD=1 SKIPDEPEND=1"
|
2021-05-02 11:33:58 +00:00
|
|
|
- if "%build_type%"=="fbn-xp-gcc" 7z a %build_type%.7z %APPVEYOR_BUILD_FOLDER%\*.exe %APPVEYOR_BUILD_FOLDER%\fbahelpfilesrc\fbneo.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html
|
2020-02-09 00:58:59 +00:00
|
|
|
- if "%build_type%"=="fbn-xp-debug-gcc" 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-gcc" bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && rm -rf obj && mingw32-make mingw510 -j5 SKIPDEPEND=1"
|
2021-05-02 11:33:58 +00:00
|
|
|
- if "%build_type%"=="fbn-xp-debug-gcc" 7z a %build_type%.7z %APPVEYOR_BUILD_FOLDER%\fbneod.exe %APPVEYOR_BUILD_FOLDER%\fbahelpfilesrc\fbneo.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html
|
2020-02-09 00:58:59 +00:00
|
|
|
- if "%build_type%"=="fbn-win32-gcc" bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && mingw32-make mingw510 -j5 RELEASEBUILD=1 SKIPDEPEND=1 USE_UCRT=1"
|
2021-05-02 11:33:58 +00:00
|
|
|
- if "%build_type%"=="fbn-win32-gcc" 7z a %build_type%.7z %APPVEYOR_BUILD_FOLDER%\*.exe %APPVEYOR_BUILD_FOLDER%\fbahelpfilesrc\fbneo.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html
|
2020-02-09 00:58:59 +00:00
|
|
|
- if "%build_type%"=="fbn-win32-debug-gcc" bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && rm -rf obj && mingw32-make mingw510 -j5 SKIPDEPEND=1 USE_UCRT=1"
|
2021-05-02 11:33:58 +00:00
|
|
|
- if "%build_type%"=="fbn-win32-debug-gcc" 7z a %build_type%.7z %APPVEYOR_BUILD_FOLDER%\fbneod.exe %APPVEYOR_BUILD_FOLDER%\fbahelpfilesrc\fbneo.chm %APPVEYOR_BUILD_FOLDER%\*.zip %APPVEYOR_BUILD_FOLDER%\src\license.txt %APPVEYOR_BUILD_FOLDER%\whatsnew.html
|
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:
|
2020-09-16 09:25:44 +00:00
|
|
|
branch: master # release from master branch
|
2019-07-25 09:31:53 +00:00
|
|
|
auth_token:
|
2021-06-21 19:46:17 +00:00
|
|
|
secure: mZQIcN+Syl2DX8e4agz4KYmOwiO2Bb6cbxPYJeUcBF42TwAqQBYrwFEZGVYmpzsU
|
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)
|