[openjk] 13/24: Run install target after building in appveyor
Simon McVittie
smcv at debian.org
Sat Jan 21 21:44: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 9ca249cb2d4874f85f4cdaf654dfe538a007295c
Author: Xycaleth <alex at acslo.com>
Date: Sun Nov 20 11:16:34 2016 +0000
Run install target after building in appveyor
---
appveyor.yml | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/appveyor.yml b/appveyor.yml
index 62a112e..ae5c05a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -35,11 +35,6 @@ init:
#- cmake --help #debug: view available generators
- python --version #for tests, todo (try starting the built executables)
-#scripts that run after cloning repository
-install:
- #Add cl.exe in path (for nmake)
- #'"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
-
#where to clone the git repository to
clone_folder: C:\projects\OpenJK
@@ -51,9 +46,9 @@ before_build:
- cmd: echo "Generator='%CMAKE_GENERATOR%'"
- cmd: echo "Platform='%Platform%'"
- cmd: if exist build rmdir /q /s build #remove build dir
- - mkdir build
+ - cmd: mkdir build
- cmd: cd build
- - cmd: cmake -G "%CMAKE_GENERATOR%" "%APPVEYOR_BUILD_FOLDER%"
+ - cmd: cmake -DCMAKE_INSTALL_PREFIX=install -G "%CMAKE_GENERATOR%" "%APPVEYOR_BUILD_FOLDER%"
- cmd: ls
build:
@@ -63,3 +58,5 @@ build:
#scripts to run after build
after_build:
+ - cmd: cd build
+ - cmd: cmake --build . --target INSTALL
--
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