Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

variables:
DMD_BRANCH: $[ coalesce(variables['System.PullRequest.TargetBranch'], variables['Build.SourceBranchName'], 'master') ]

jobs:
- job: Windows
timeoutInMinutes: 120
pool:
vmImage: 'vs2017-win2016'
variables:
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\
HOST_DMD_VERSION: 2.084.1
strategy:
matrix:
x64:
OS: Win_64
MODEL: 64
ARCH: x64
D_COMPILER: dmd
steps:
- script: git clone --branch $(DMD_BRANCH) https://github.com/dlang/dmd.git ../dmd
- script: |
call "%VSINSTALLDIR%\VC\Auxiliary\Build\vcvarsall.bat" %ARCH%
cd ../dmd && sh --login .azure-pipelines/windows.sh
displayName: Build DMD

- job: Windows_OMF
timeoutInMinutes: 120
pool:
vmImage: 'vs2017-win2016'
variables:
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\
HOST_DMD_VERSION: LATEST
strategy:
matrix:
x64:
OS: Win_32
MODEL: 32
ARCH: x86
D_COMPILER: dmd
steps:
- script: git clone --branch $(DMD_BRANCH) https://github.com/dlang/dmd.git ../dmd
- script: cd ../dmd && sh --login .azure-pipelines/windows.sh

- job: Windows_VisualD
timeoutInMinutes: 120
pool:
vmImage: 'vs2017-win2016'
variables:
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\
strategy:
matrix:
win32-ldc:
OS: Win_32
MODEL: 32
ARCH: x86
D_COMPILER: ldc
VISUALD_VER: v0.49.0
LDC_VERSION: 1.14.0
steps:
- script: git clone --branch $(DMD_BRANCH) https://github.com/dlang/dmd.git ../dmd
- script: cd ../dmd && sh --login .azure-pipelines/windows-visual-studio.sh
- script: cd ../dmd && call .azure-pipelines\windows-msbuild.bat

- job: Windows_VisualD_Debug
timeoutInMinutes: 120
pool:
vmImage: 'vs2017-win2016'
variables:
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\
HOST_DMD_VERSION: 2.086.1
strategy:
matrix:
x64-debug-dmd:
OS: Win_64
MODEL: 64
ARCH: x64
CONFIGURATION: Debug
D_COMPILER: dmd
VISUALD_VER: v0.49.0
steps:
- script: git clone --branch $(DMD_BRANCH) https://github.com/dlang/dmd.git ../dmd
- script: cd ../dmd && sh --login .azure-pipelines/windows-visual-studio.sh
- script: cd ../dmd && call .azure-pipelines\windows-msbuild.bat