forked from devinacker/bsnes-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
56 lines (32 loc) · 1.16 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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\out\bsnes-plus-v$(appveyor_build_version).zip