Added win32 build script for pipeline.
This commit is contained in:
parent
fcf2135426
commit
bce4ea30f8
|
@ -4,9 +4,5 @@ image:
|
|||
- Ubuntu2004
|
||||
#- Ubuntu1804
|
||||
build_script:
|
||||
- cmd: msbuild "./vc/vc14_fceux.sln"
|
||||
- cmd: cd vc
|
||||
- cmd: archive.bat
|
||||
- cmd: cd ..
|
||||
- cmd: appveyor PushArtifact "./vc/fceux.zip"
|
||||
- cmd: pipelines/win32_build.bat
|
||||
- sh: ./pipelines/linux_build.sh
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
set PROJECT_ROOT=%~dp0..
|
||||
|
||||
REM echo %PROJECT_ROOT%
|
||||
|
||||
msbuild %PROJECT_ROOT%\vc\vc14_fceux.vcxproj
|
||||
|
||||
cd %PROJECT_ROOT%\vc
|
||||
|
||||
REM Copy Executable to output directory
|
||||
copy vc14_bin_Debug\fceux.exe ..\output\.
|
||||
|
||||
REM Create Zip Archive
|
||||
archive.bat
|
||||
|
||||
cd %PROJECT_ROOT%
|
||||
|
||||
appveyor PushArtifact "./vc/fceux.zip"
|
|
@ -5,7 +5,7 @@ IF ERRORLEVEL 1 IF NOT ERRORLEVEL 2 GOTO UPXFailed
|
|||
cd ..\output
|
||||
..\vc\zip -X -9 -r ..\vc\fceux.zip fceux.exe fceux.chm taseditor.chm 7z.dll *.dll palettes luaScripts tools
|
||||
move /y ..\vc\fceux.exe .
|
||||
..\vc\zip -X -9 -r ..\vc\fceux.zip auxlib.lua
|
||||
REM ..\vc\zip -X -9 -r ..\vc\fceux.zip auxlib.lua
|
||||
cd ..
|
||||
REM vc\zip -X -9 -r vc\fceux.zip documentation
|
||||
cd vc
|
||||
|
|
Loading…
Reference in New Issue