diff --git a/appveyor.yml b/appveyor.yml index 9337bac1..432a853c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,4 +5,5 @@ image: #- Ubuntu1804 build_script: - cmd: pipelines/win32_build.bat +- cmd: pipelines/win64_build.bat - sh: ./pipelines/linux_build.sh diff --git a/pipelines/win64_build.bat b/pipelines/win64_build.bat new file mode 100644 index 00000000..c2453bfc --- /dev/null +++ b/pipelines/win64_build.bat @@ -0,0 +1,18 @@ + +set PROJECT_ROOT=%~dp0.. + +msbuild %PROJECT_ROOT%\vc\vc14_fceux.vcxproj /p:Configuration=Release /p:Platform="x64" +@if ERRORLEVEL 1 goto end + +cd %PROJECT_ROOT%\vc + +REM Create Zip Archive +cd %PROJECT_ROOT%\output +..\vc\zip -X -9 -r ..\vc\fceux64.zip ..\vc\x64\Release\fceux.exe fceux.chm taseditor.chm ..\src\drivers\win\lua\x64\lua5.1.dll ..\src\drivers\win\lua\x64\lua51.dll 7z.dll ..\src\auxlib\auxlib.lua palettes luaScripts tools +@if ERRORLEVEL 1 goto end + +cd %PROJECT_ROOT% + +appveyor PushArtifact %PROJECT_ROOT%\vc\fceux64.zip + +:end \ No newline at end of file