mirror of
https://github.com/devinacker/bsnes-plus.git
synced 2024-05-15 02:39:51 -04:00
66 lines
1.3 KiB
YAML
66 lines
1.3 KiB
YAML
version: 05.{build}-{branch}
|
|
pull_requests:
|
|
do_not_increment_build_number: true
|
|
branches:
|
|
except:
|
|
- gh-pages
|
|
environment:
|
|
MINGW_PATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin
|
|
PATH: '%MINGW_PATH%;%PATH%'
|
|
build_script:
|
|
- cmd: >-
|
|
git submodule update --init
|
|
|
|
cd bsnes
|
|
|
|
mingw32-make -j8 build platform=win profile=accuracy version=%APPVEYOR_BUILD_VERSION%
|
|
|
|
mingw32-make -j8 build platform=win profile=performance version=%APPVEYOR_BUILD_VERSION%
|
|
|
|
mingw32-make -j8 platform=win version=%APPVEYOR_BUILD_VERSION%
|
|
|
|
|
|
cd out
|
|
|
|
|
|
move ..\..\snesfilter\snesfilter.dll
|
|
|
|
move ..\..\snesreader\snesreader.dll
|
|
|
|
move ..\..\snesmusic\snesmusic.dll
|
|
|
|
move ..\..\supergameboy\supergameboy.dll
|
|
|
|
|
|
mkdir bsxdat
|
|
|
|
copy ..\data\bsxdat bsxdat
|
|
|
|
|
|
copy "..\..\external\qt\mingw-w64\bin\*.dll"
|
|
|
|
xcopy /E "..\..\external\qt\mingw-w64\plugins"
|
|
|
|
|
|
copy "%MINGW_PATH%\libgcc_s_seh-1.dll"
|
|
|
|
copy "%MINGW_PATH%\libgomp-1.dll"
|
|
|
|
copy "%MINGW_PATH%\libstdc++-6.dll"
|
|
|
|
copy "%MINGW_PATH%\libwinpthread-1.dll"
|
|
|
|
|
|
7z a ..\..\bsnes-plus-v%APPVEYOR_BUILD_VERSION%.zip *
|
|
artifacts:
|
|
- path: bsnes-plus-v$(appveyor_build_version).zip
|
|
deploy:
|
|
provider: FTP
|
|
protocol: ftps
|
|
host: revenant1.net
|
|
username: bsnes@revenant1.net
|
|
password:
|
|
secure: McbB8gC1DEt670JWHHuiEBkZm+yhXYzqgRC6iHeb1AE=
|
|
folder:
|
|
artifact:
|