From cc72b204b2bfcf720d6520783290c3fd30a01ea2 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sat, 28 Dec 2019 12:53:37 +0100 Subject: Output the binaries into a per-configuration Server subfolder. (#4440) Make links to the original Server subfolder's items from the per-configuration Server subfolder. --- appveyor.yml | 68 +++++++++++++++++++++--------------------------------------- 1 file changed, 24 insertions(+), 44 deletions(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index 2ba248df0..2be646452 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,15 +11,15 @@ environment: matrix: - job_name: Windows-x64-debug configuration: Debug - CUBERITE_EXECUTABLE: cuberite_debug + BUILD_DIR: Debug-x64 - job_name: Windows-x86 configuration: Release - CUBERITE_EXECUTABLE: cuberite + BUILD_DIR: Release-x86 - job_name: Windows-x64 configuration: Release - CUBERITE_EXECUTABLE: cuberite + BUILD_DIR: Release-x64 install: - echo %TIME% @@ -35,8 +35,8 @@ for: - job_name: Windows-x64-debug before_build: - - if not exist Debug-x64 mkdir Debug-x64 - - cd Debug-x64 + - if not exist %BUILD_DIR% mkdir %BUILD_DIR% + - cd %BUILD_DIR% - echo %TIME% - cmake -G "Visual Studio 14 2015 Win64" -DSELF_TEST=1 -DBUILD_TOOLS=1 .. - echo %TIME% @@ -56,8 +56,8 @@ for: - job_name: Windows-x86 before_build: - - if not exist Release-x86 mkdir Release-x86 - - cd Release-x86 + - if not exist %BUILD_DIR% mkdir %BUILD_DIR% + - cd %BUILD_DIR% - echo %TIME% - cmake -G "Visual Studio 14 2015" .. - echo %TIME% @@ -77,8 +77,8 @@ for: - job_name: Windows-x64 before_build: - - if not exist Release-x64 mkdir Release-x64 - - cd Release-x64 + - if not exist %BUILD_DIR% mkdir %BUILD_DIR% + - cd %BUILD_DIR% - echo %TIME% - cmake -G "Visual Studio 14 2015 Win64" .. - echo %TIME% @@ -89,44 +89,24 @@ for: parallel: true verbosity: minimal +########################################### +# Cache for speeding up subsequent builds # +########################################### cache: - Debug-x64 - Release-x86 - Release-x64 +##################### +# Package artifacts # +##################### + after_build: -- cd Install -- echo Cuberite %APPVEYOR_JOB_NAME%-#%APPVEYOR_BUILD_NUMBER% 1>..\Server\buildinfo.txt -- 7z a -tzip -y ../Cuberite.zip -scsWIN -i@Zip2008.list -xr!*.git* -- cd .. -- 7z a -tzip -y PDBs.zip -scsWIN -i@Install/Zip2008_PDBs.list -xr!*.git* -- cd Server\plugins -- git clone https://github.com/madmaxoft/ManualApiDump -- cd .. -- echo load ManualApiDump 1>cmds.txt -- echo manualapi 1>>cmds.txt -- echo load APIDump 1>>cmds.txt -- echo api 1>>cmds.txt -- echo stop 1>>cmds.txt -- "%CUBERITE_EXECUTABLE% --port 32767 0buildinfo.txt +- Install\PackWindowsExecutables.cmd +- appveyor PushArtifact Cuberite.zip -FileName Cuberite.zip +- appveyor PushArtifact PDBs.zip -FileName PDBs.zip +- appveyor PushArtifact AutoAPI.zip -FileName AutoAPI.zip +- appveyor PushArtifact ManualAPI.zip -FileName ManualAPI.zip +- appveyor PushArtifact .luacheckrc -FileName .luacheckrc -- cgit v1.2.3