mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 19:45:41 -04:00
AppVeyor: We need to package the build *after* building it.
This commit is contained in:
parent
d746b75849
commit
d578d0d458
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%
|
||||||
|
appveyor PushArtifact *.zip
|
||||||
|
exit /b %ERRORLEVEL%
|
@ -14,10 +14,6 @@ if "%platform%" == "x64" set "CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64"
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. -G "%CMAKE_GENERATOR%" -DCMAKE_GENERATOR_TOOLSET=%CMAKE_GENERATOR_TOOLSET% -DENABLE_JPEG=ON -DBUILD_TESTING=ON -DENABLE_LTO=OFF -DENABLE_PCH=ON
|
cmake .. -G "%CMAKE_GENERATOR%" -DCMAKE_GENERATOR_TOOLSET=%CMAKE_GENERATOR_TOOLSET% -DENABLE_JPEG=ON -DBUILD_TESTING=ON -DENABLE_LTO=OFF -DENABLE_PCH=ON
|
||||||
if ERRORLEVEL 1 exit /b %ERRORLEVEL%
|
|
||||||
if "%configuration%" == "Release" cpack -C "%configuration%"
|
|
||||||
if ERRORLEVEL 1 exit /b %ERRORLEVEL%
|
|
||||||
if "%configuration%" == "Release" appveyor PushArtifact *.zip
|
|
||||||
exit /b %ERRORLEVEL%
|
exit /b %ERRORLEVEL%
|
||||||
|
|
||||||
:mingw-w64
|
:mingw-w64
|
||||||
|
@ -60,3 +60,7 @@ build_script:
|
|||||||
test_script:
|
test_script:
|
||||||
- cd %APPVEYOR_BUILD_FOLDER%\build
|
- cd %APPVEYOR_BUILD_FOLDER%\build
|
||||||
- ctest -V -C %configuration%
|
- ctest -V -C %configuration%
|
||||||
|
|
||||||
|
before_deploy:
|
||||||
|
- cd %APPVEYOR_BUILD_FOLDER%\build
|
||||||
|
- appveyor-artifacts.cmd
|
||||||
|
Loading…
Reference in New Issue
Block a user