add artifacts on appveyor

This commit is contained in:
Stefano Sinigardi 2019-03-03 19:57:40 +01:00
parent 80c9fa76a4
commit 40cdaaaa43
1 changed files with 14 additions and 4 deletions

View File

@ -61,7 +61,17 @@ install:
- cd ..
build_script:
- if [%COMPILER%]==[cygwin] cd build_debug && %CYGSH% 'cmake --build .' && cd ..
- if [%COMPILER%]==[cygwin] cd build_release && %CYGSH% 'cmake --build .' && cd ..
- if [%COMPILER%]==[vs] if NOT [%USE_INTEGRATED_LIBS%]==[yes] cd build_debug && cmake --build . --config Debug && cd ..
- if [%COMPILER%]==[vs] cd build_release && cmake --build . --config Release && cd ..
- if [%COMPILER%]==[cygwin] cd build_debug && %CYGSH% 'cmake --build . --target install' && cd ..
- if [%COMPILER%]==[cygwin] cd build_release && %CYGSH% 'cmake --build . --target install' && cd ..
- if [%COMPILER%]==[vs] if NOT [%USE_INTEGRATED_LIBS%]==[yes] cd build_debug && cmake --build . --config Debug --target install && cd ..
- if [%COMPILER%]==[vs] cd build_release && cmake --build . --config Release --target install && cd ..
artifacts:
- path: './darklib.lib'
name: darklib.lib
- path: './darklib.dll'
name: darklib.dll
- path: './uselib.exe'
name: uselib.exe
- path: './darknet.exe'
name: darknet.exe