mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-08 15:30:00 +00:00
4218ebc932
This also means dropping Debian/jessie, as it has a CMake that is too old (3.0), with no real path to upgrade.
17 lines
515 B
YAML
17 lines
515 B
YAML
parameters:
|
|
BuildArch: ''
|
|
VcpkgTargetTriplet: ''
|
|
BuildConfiguration: ''
|
|
|
|
steps:
|
|
- task: CMake@1
|
|
displayName: 'Configure'
|
|
inputs:
|
|
cmakeArgs: '.. -G "Visual Studio 15 2017" -A ${{ parameters.BuildArch }} -DCMAKE_TOOLCHAIN_FILE="c:\vcpkg\scripts\buildsystems\vcpkg.cmake" -DVCPKG_TARGET_TRIPLET="${{ parameters.VcpkgTargetTriplet }}"'
|
|
- task: VSBuild@1
|
|
displayName: 'Build'
|
|
inputs:
|
|
solution: build/openttd.vcxproj
|
|
configuration: ${{ parameters.BuildConfiguration }}
|
|
maximumCpuCount: true
|