diff options
author | glx <glx@openttd.org> | 2018-12-31 17:25:08 +0100 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2019-01-05 18:10:14 +0100 |
commit | 96b961c69a7be052b9104994b73801b32b5e1c41 (patch) | |
tree | b499472cc5486af173b5b15bb32c73ba4560f617 | |
parent | c0a655225d29d96d355e94b34512da5bffcf12f9 (diff) | |
download | openttd-96b961c69a7be052b9104994b73801b32b5e1c41.tar.xz |
Add: [AzurePipelines] run regression with MSVC
-rw-r--r-- | azure-pipelines-ci.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/azure-pipelines-ci.yml b/azure-pipelines-ci.yml index ea7f35514..e71ab60ea 100644 --- 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' |