mirror of
https://github.com/libretro/FBNeo.git
synced 2024-11-30 12:30:44 +00:00
54 lines
3.6 KiB
Plaintext
54 lines
3.6 KiB
Plaintext
version: 1.0.{build}
|
|
image: Visual Studio 2015
|
|
|
|
environment:
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
build_type: fbn-source
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
build_type: fbn-win32-gcc
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
build_type: fbn-win32-debug-gcc
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
build_type: fbn-xp-gcc
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
build_type: fbn-xp-debug-gcc
|
|
shallow_clone: true
|
|
clone_depth: 1
|
|
install:
|
|
- 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%"
|
|
- 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-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"
|
|
- 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
|
|
- 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"
|
|
- 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
|
|
- 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"
|
|
- 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
|
|
- 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"
|
|
- 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
|
|
artifacts:
|
|
- path: $(build_type).7z
|
|
name: $(build_type)
|
|
test: off
|
|
deploy:
|
|
- provider: GitHub
|
|
tag: appveyor-build
|
|
description: github-commit-%APPVEYOR_REPO_COMMIT%
|
|
force_update: true
|
|
on:
|
|
branch: master # release from master branch
|
|
auth_token:
|
|
secure: mZQIcN+Syl2DX8e4agz4KYmOwiO2Bb6cbxPYJeUcBF42TwAqQBYrwFEZGVYmpzsU
|
|
repository: finalburnneo/FBNeo-WIP-Storage-Facility
|
|
artifact: $(build_type)
|