mirror of
https://github.com/GerbilSoft/rvthtool.git
synced 2025-06-18 11:35:33 -04:00
AppVeyor: Package artifacts for MSVC 2013 Release builds.
This commit is contained in:
parent
9171d4c3c3
commit
7e72ea998f
9
appveyor-artifacts.cmd
Normal file
9
appveyor-artifacts.cmd
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
@ECHO OFF
|
||||||
|
if not "%compiler%" == "msvc2013" exit /b 0
|
||||||
|
if not "%configuration%" == "Release" exit /b 0
|
||||||
|
|
||||||
|
cpack --version
|
||||||
|
cpack -C "%configuration%"
|
||||||
|
if ERRORLEVEL 1 exit /b %ERRORLEVEL%
|
||||||
|
for %%z in (*.zip) do appveyor PushArtifact "%%z"
|
||||||
|
exit /b %ERRORLEVEL%
|
@ -61,4 +61,6 @@ test_script:
|
|||||||
- cd %APPVEYOR_BUILD_FOLDER%\build
|
- cd %APPVEYOR_BUILD_FOLDER%\build
|
||||||
- ctest -V -C %configuration%
|
- ctest -V -C %configuration%
|
||||||
|
|
||||||
# TODO: Automatic packaging?
|
after_test:
|
||||||
|
- cd %APPVEYOR_BUILD_FOLDER%\build
|
||||||
|
- ..\appveyor-artifacts.cmd
|
||||||
|
Loading…
Reference in New Issue
Block a user