# HG changeset patch # User glx # Date 2018-12-31 16:25:08 # Node ID 3bbf809d66e34d7fd85f720f9f99eea6a1b1ef21 # Parent 9ee9abfa90446a23c95193695aaa0bb8769302df Add: [AzurePipelines] run regression with MSVC diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml --- a/azure-pipelines-ci.yml +++ b/azure-pipelines-ci.yml @@ -34,6 +34,13 @@ jobs: workingDirectory: $(Build.ArtifactStagingDirectory) - script: $(Build.ArtifactStagingDirectory)\windows-dependencies\vcpkg.exe integrate install displayName: 'Install dependencies' + - bash: | + set -ex + cd bin/baseset + curl -L https://binaries.openttd.org/extra/opengfx/0.5.2/opengfx-0.5.2-all.zip > opengfx-0.5.2-all.zip + unzip opengfx-0.5.2-all.zip + rm -f opengfx-0.5.2-all.zip + displayName: 'Install OpenGFX' - task: VSBuild@1 displayName: 'Build' inputs: @@ -41,7 +48,11 @@ jobs: platform: $(BuildPlatform) configuration: Release maximumCpuCount: true - # Running the regression is currently not possibe via MSVC (console is not redirected) + - script: | + call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86 + cd projects + call regression.bat + displayName: 'Test' - job: linux displayName: 'Linux'