From 11c72dcc22d2903d38b7ddb7365c0613cd9df1be Mon Sep 17 00:00:00 2001 From: eternalcodes Date: Mon, 7 Mar 2016 04:06:14 -0600 Subject: [PATCH] current project configuration --- appveyor.yml | 82 +++++++++------------------------------------------- 1 file changed, 14 insertions(+), 68 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index a0e95b7171..b183575017 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,72 +1,18 @@ -version: 1.0.{build} - -branches: - except: - - release/1.0 - -clone_depth: 1 #clone entire repository history if not defined -shallow_clone: true #GitHub specific (ignores clone_depth) - -#do not build on tags -skip_tags: true - -os: Visual Studio 2015 # Windows Server 2012 - -environment: - VisualStudioVersion: "14.0" - CMAKE_GENERATOR: "Visual Studio 14 2015" - matrix: - - CMAKE_BUILD_TYPE: "Debug" - - CMAKE_BUILD_TYPE: "Release" - -matrix: - fast_finish: false #finish build once one of the jobs fails - -platform: - - Win32 - - x64 - -configuration: - #- Debug - - Release - -#scripts that are called at very beginning, before repo cloning -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) - -#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 - -#scripts to run before build +version: 1.1.{build} +configuration: Release 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%', CMAKE_BUILD_TYPE='%CMAKE_BUILD_TYPE%'" - - cmd: echo "Platform='%Platform%'" - - cmd: if exist build rmdir /q /s build #remove build dir - - mkdir build - - cmd: cd build - - cmd: cmake -G "%CMAKE_GENERATOR%" "-DCMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE%" "%APPVEYOR_BUILD_FOLDER%" - - cmd: ls - #- mkdir ..\nmakebuild - #- cd ..\nmakebuild - #- cmd: cmake -G "NMake Makefiles" "-DCMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE%" "%APPVEYOR_BUILD_FOLDER%" - #- cmd: ls - +- cmd: cmake -G "Visual Studio 14 2015" -T v140_xp -D MSVC_RUNTIME=static -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=RELEASE -DBuildMPGame=OFF -DBuildMPDed=OFF -DBuildMPCGame=OFF . build: + project: OpenJK.sln parallel: true - project: C:\projects\OpenJK\build\OpenJK.sln - verbosity: minimal #quiet|minimal|normal|detailed - -#scripts to run after build + verbosity: minimal after_build: +- cmd: msbuild /p:Configuration=Release /p:Platform=Win32 install.vcxproj +artifacts: +- path: install/JediAcademy/ + name: eternal-japro-v{build}-win32-x86-portable +deploy: +- provider: GitHub + auth_token: + secure: 3kZBt3AHOOQnurs3NowjhHDQzC/6bzmNNg8jnlnDM7Puk+gq9qeEDHSHg3ZRcinP + artifact: Release \ No newline at end of file