This is an automated email from the git hooks/post-receive script. smcv pushed a commit to branch debian/master in repository openjk.
commit 29cb7b69b6e1b2d42f84b8763e3273c72500813f Author: Xycaleth <[email protected]> Date: Sun Mar 12 20:46:14 2017 +0000 Add deployment script for AppVeyor --- appveyor.yml | 29 ++++++++++++++++------------- tools/builds/deploy.bat | 5 +++++ 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index a18f45a..d704007 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -38,15 +38,15 @@ clone_folder: C:\projects\OpenJK #scripts to run before build before_build: - - cmd: cd %APPVEYOR_BUILD_FOLDER% - - cmd: if "%Platform%"=="x64" set "CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64" - - cmd: echo "Generator='%CMAKE_GENERATOR%'" - - cmd: echo "Platform='%Platform%'" - - cmd: if exist build rmdir /q /s build #remove build dir - - cmd: mkdir build - - cmd: cd build - - cmd: cmake -DCMAKE_INSTALL_PREFIX=install -G "%CMAKE_GENERATOR%" "%APPVEYOR_BUILD_FOLDER%" - - cmd: ls + - cd %APPVEYOR_BUILD_FOLDER% + - if "%Platform%"=="x64" set "CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64" + - echo "Generator='%CMAKE_GENERATOR%'" + - echo "Platform='%Platform%'" + - if exist build rmdir /q /s build #remove build dir + - mkdir build + - cd build + - cmake -DCMAKE_INSTALL_PREFIX=install -G "%CMAKE_GENERATOR%" "%APPVEYOR_BUILD_FOLDER%" + - ls build: parallel: true @@ -55,12 +55,15 @@ build: #scripts to run after build after_build: - - cmd: cmake --build . --target INSTALL - - cmd: cd %APPVEYOR_BUILD_FOLDER% - - cmd: 7z a openjk-windows.zip %APPVEYOR_BUILD_FOLDER%/build/install/JediAcademy/* - - cmd: 7z l openjk-windows.zip # list files in the zip file + - cmake --build . --target INSTALL + - cd %APPVEYOR_BUILD_FOLDER% + - 7z a openjk-windows.zip %APPVEYOR_BUILD_FOLDER%/build/install/JediAcademy/* + - 7z l openjk-windows.zip # list files in the zip file artifacts: - path: openjk-windows.zip name: OpenJK Jedi Academy ZIP type: zip + +deploy_script: + - tools/builds/deploy.bat diff --git a/tools/builds/deploy.bat b/tools/builds/deploy.bat new file mode 100644 index 0000000..3aab69c --- /dev/null +++ b/tools/builds/deploy.bat @@ -0,0 +1,5 @@ +echo "%APPVEYOR_FORCED_BUILD%" +if "%APPVEYOR_FORCED_BUILD%"=="True" ( + C:\cygwin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P rsync + rsync -avz --progress -e 'ssh -p 29022 ' --protocol=29 openjk-windows*.zip [email protected]:/home/ojkwinbuilder/builds/ +) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openjk.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

