summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure-pipelines-ci.yml13
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'