Files
@ r23292:6ef962e537f8
Branch filter:
Location: cpp/openttd-patchpack/source/azure-pipelines-ci.yml - annotation
r23292:6ef962e537f8
1.6 KiB
text/x-yaml
Fix: [AzurePipelines] in case of a Pull Request, use that number (prefix with 'pr') as branchname
Otherwise the branch name is always 'merge', which is not really
useful or verbose.
Otherwise the branch name is always 'merge', which is not really
useful or verbose.
r23092:79ac255e172c r23092:79ac255e172c r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23110:3bbf809d66e3 r23110:3bbf809d66e3 r23110:3bbf809d66e3 r23110:3bbf809d66e3 r23110:3bbf809d66e3 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23091:12955d4e1668 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23144:9a2ff041af83 r23091:12955d4e1668 r23091:12955d4e1668 | trigger:
- master
pr:
- master
jobs:
- job: windows
displayName: 'Windows'
pool:
vmImage: 'VS2017-Win2016'
strategy:
matrix:
Win32:
BuildPlatform: 'Win32'
Win64:
BuildPlatform: 'x64'
steps:
- 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)
- 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'
pool:
vmImage: 'ubuntu-16.04'
strategy:
matrix:
commit-checker: {}
linux-amd64-clang-3.8: {}
linux-amd64-gcc-6: {}
linux-i386-gcc-6: {}
steps:
- template: azure-pipelines/templates/ci-git-rebase.yml
# The dockers already have the dependencies installed
# The dockers already have OpenGFX installed
- template: azure-pipelines/templates/linux-build.yml
parameters:
Image: compile-farm-ci
Tag: $(Agent.JobName)
- job: macos
displayName: 'MacOS'
pool:
vmImage: 'macOS-10.13'
steps:
- template: azure-pipelines/templates/ci-git-rebase.yml
- template: azure-pipelines/templates/osx-dependencies.yml
- template: azure-pipelines/templates/ci-opengfx.yml
- template: azure-pipelines/templates/osx-build.yml
- script: 'make regression'
displayName: 'Test'
|