Make sure the CI build still produces artifacts

This commit is contained in:
x1nixmzeng 2017-12-07 00:14:07 +00:00
parent a72034b78a
commit 76c59f38ee
3 changed files with 8 additions and 10 deletions

6
AppveyorPackager.ps1 Normal file
View File

@ -0,0 +1,6 @@
if exist build\win32\$(configuration)\Cxbx.exe (
7z a export\$(configuration).zip COPYING README.md
cd build\win32\$(configuration)
7z u ..\..\..\export\$(configuration).zip Cxbx.exe glew32.dll subhook.dll
cd ..\..\..\
)

View File

@ -12,6 +12,8 @@ build:
project: build/win32/Cxbx.sln
parallel: true
verbosity: minimal
after_build:
- ps: AppveyorPackager.ps1
artifacts:
- path: export\Release.zip
- path: export\Debug.zip

View File

@ -1,10 +0,0 @@
if exist Release\Cxbx.exe (
cd Release
..\..\..\import\7za\7za.exe a ..\..\..\export\Release.zip Cxbx.exe glew32.dll subhook.dll ..\..\..\COPYING ..\..\..\README.md
cd ..\
)
if exist Debug\Cxbx.exe (
cd Debug
..\..\..\import\7za\7za.exe a ..\..\..\export\Debug.zip Cxbx.exe glew32.dll subhook.dll ..\..\..\COPYING ..\..\..\README.md
cd ..\
)