Changeset - r23727:041406c57bbc
[Not reviewed]
master
0 3 0
Michael Lutz - 5 years ago 2019-05-10 20:20:10
michi@icosahedron.de
Codechange: [AzurePipelines] Speed up non-published CI-builds by doing Debug Windows builds.
3 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
azure-pipelines-ci.yml
Show inline comments
 
@@ -22,12 +22,13 @@ jobs:
 
  - template: azure-pipelines/templates/ci-git-rebase.yml
 
  - template: azure-pipelines/templates/windows-dependencies.yml
 
  - template: azure-pipelines/templates/ci-opengfx.yml
 
  - 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
 
      call regression.bat
 
    displayName: 'Test'
 

	
azure-pipelines/templates/release.yml
Show inline comments
 
@@ -85,12 +85,13 @@ jobs:
 
  - template: windows-dependency-zip.yml
 
  - ${{ if eq(parameters.IsStableRelease, true) }}:
 
    - template: windows-dependency-nsis.yml
 
  - 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)
 
    displayName: 'Create bundles'
 
  - ${{ if eq(parameters.IsStableRelease, true) }}:
 
    - bash: |
azure-pipelines/templates/windows-build.yml
Show inline comments
 
@@ -4,8 +4,8 @@ parameters:
 
steps:
 
- task: VSBuild@1
 
  displayName: 'Build'
 
  inputs:
 
    solution: 'projects/openttd_vs141.sln'
 
    platform: ${{ parameters.BuildPlatform }}
 
    configuration: Release
 
    configuration: ${{ parameters.BuildConfiguration }}
 
    maximumCpuCount: true
0 comments (0 inline, 0 general)