[openjk] 06/32: Add zip file as artifact for AppVeyor

Simon McVittie smcv at debian.org
Sun Mar 12 18:03:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository openjk.

commit 4d8463a1d223974c48b7d27d5121d2447bd497c4
Author: Xycaleth <alex at acslo.com>
Date:   Fri Mar 3 22:49:24 2017 +0000

    Add zip file as artifact for AppVeyor
---
 appveyor.yml | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index 13cbcfb..2f7f068 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -4,8 +4,8 @@ branches:
   except:
     - release/1.0
 
-clone_depth: 1 #clone entire repository history if not defined
-shallow_clone: true #GitHub specific (ignores clone_depth)
+clone_depth: 1
+shallow_clone: true
 
 #do not build on tags
 skip_tags: true
@@ -32,8 +32,6 @@ init:
   - ps: Update-AppveyorBuild -Version "1.0-git-$($env:appveyor_repo_commit.substring(0,8))"
   - cmake --version
   - msbuild /version
-  #- cmake --help #debug: view available generators
-  - python --version #for tests, todo (try starting the built executables)
 
 #where to clone the git repository to
 clone_folder: C:\projects\OpenJK
@@ -41,7 +39,6 @@ clone_folder: C:\projects\OpenJK
 #scripts to run before build
 before_build:
   - cmd: cd %APPVEYOR_BUILD_FOLDER%
-  #- set #debug: view all environment variables
   - cmd: if "%Platform%"=="x64" set "CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64"
   - cmd: echo "Generator='%CMAKE_GENERATOR%'"
   - cmd: echo "Platform='%Platform%'"
@@ -59,3 +56,10 @@ build:
 #scripts to run after build
 after_build:
   - cmd: cmake --build . --target INSTALL
+  - cmd: 7z a openjk-windows.zip %APPVEYOR_BUILD_FOLDER%/build/install/JediAcademy/*
+  - cmd: 7z l openjk-windows.zip # list files in the zip file
+
+artifacts:
+  - path: openjk-windows.zip
+    name: OpenJK Jedi Academy ZIP
+    type: zip

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openjk.git



More information about the Pkg-games-commits mailing list