1
0
Fork 0

Codechange: [AzurePipelines] Speed up non-published CI-builds by doing Debug Windows builds.

pull/7586/head
Michael Lutz 2019-05-10 22:20:10 +02:00
parent 83c1678f9e
commit 2e7a27d2ee
3 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@ jobs:
- template: azure-pipelines/templates/windows-build.yml - template: azure-pipelines/templates/windows-build.yml
parameters: parameters:
BuildPlatform: $(BuildPlatform) BuildPlatform: $(BuildPlatform)
BuildConfiguration: Debug
- script: | - script: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86 call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86
cd projects cd projects

View File

@ -88,6 +88,7 @@ jobs:
- template: windows-build.yml - template: windows-build.yml
parameters: parameters:
BuildPlatform: $(BuildPlatform) BuildPlatform: $(BuildPlatform)
BuildConfiguration: Release
- bash: | - bash: |
set -ex set -ex
make -f Makefile.msvc bundle_pdb bundle_zip PLATFORM=$(BundlePlatform) BUNDLE_NAME=openttd-$(Build.BuildNumber)-windows-$(BundlePlatform) make -f Makefile.msvc bundle_pdb bundle_zip PLATFORM=$(BundlePlatform) BUNDLE_NAME=openttd-$(Build.BuildNumber)-windows-$(BundlePlatform)

View File

@ -7,5 +7,5 @@ steps:
inputs: inputs:
solution: 'projects/openttd_vs141.sln' solution: 'projects/openttd_vs141.sln'
platform: ${{ parameters.BuildPlatform }} platform: ${{ parameters.BuildPlatform }}
configuration: Release configuration: ${{ parameters.BuildConfiguration }}
maximumCpuCount: true maximumCpuCount: true