summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2019-05-10 22:20:10 +0200
committerMichael Lutz <michi@icosahedron.de>2019-05-10 22:36:56 +0200
commit2e7a27d2eecca7405d5ab3a13868793c0362a4c9 (patch)
treef70886b887ad96693943412a1aaa9314b4e7e8d9
parent83c1678f9eb75e1a470e477dbeb02e95ad75eabc (diff)
downloadopenttd-2e7a27d2eecca7405d5ab3a13868793c0362a4c9.tar.xz
Codechange: [AzurePipelines] Speed up non-published CI-builds by doing Debug Windows builds.
-rw-r--r--azure-pipelines-ci.yml1
-rw-r--r--azure-pipelines/templates/release.yml1
-rw-r--r--azure-pipelines/templates/windows-build.yml2
3 files changed, 3 insertions, 1 deletions
diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml
index 19c185894..bf2fb7232 100644
--- a/azure-pipelines-ci.yml
+++ b/azure-pipelines-ci.yml
@@ -25,6 +25,7 @@ jobs:
- template: azure-pipelines/templates/windows-build.yml
parameters:
BuildPlatform: $(BuildPlatform)
+ BuildConfiguration: Debug
- script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86
cd projects
diff --git a/azure-pipelines/templates/release.yml b/azure-pipelines/templates/release.yml
index a1438c4a5..ce37de669 100644
--- a/azure-pipelines/templates/release.yml
+++ b/azure-pipelines/templates/release.yml
@@ -88,6 +88,7 @@ jobs:
- template: windows-build.yml
parameters:
BuildPlatform: $(BuildPlatform)
+ BuildConfiguration: Release
- bash: |
set -ex
make -f Makefile.msvc bundle_pdb bundle_zip PLATFORM=$(BundlePlatform) BUNDLE_NAME=openttd-$(Build.BuildNumber)-windows-$(BundlePlatform)
diff --git a/azure-pipelines/templates/windows-build.yml b/azure-pipelines/templates/windows-build.yml
index 5e12f2243..117dd062c 100644
--- a/azure-pipelines/templates/windows-build.yml
+++ b/azure-pipelines/templates/windows-build.yml
@@ -7,5 +7,5 @@ steps:
inputs:
solution: 'projects/openttd_vs141.sln'
platform: ${{ parameters.BuildPlatform }}
- configuration: Release
+ configuration: ${{ parameters.BuildConfiguration }}
maximumCpuCount: true