The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

100 lines
2.3 KiB

name: $(BuildID)
trigger:
branches:
include:
- 'master'
# Release branches
- '0.*'
variables:
MESON_FIXED_NINJA: 1
CI: 1
jobs:
- job: vs2015
pool:
vmImage: vs2015-win2012r2
strategy:
matrix:
vc2015x86ninja:
arch: x86
compiler: msvc2015
backend: ninja
vc2015x86vs:
arch: x86
compiler: msvc2015
backend: vs2015
steps:
- template: ci/azure-steps.yml
- job: vs2017
pool:
vmImage: VS2017-Win2016
strategy:
matrix:
vc2017x64ninja:
arch: x64
compiler: msvc2017
backend: ninja
vc2017x64vs:
arch: x64
compiler: msvc2017
backend: vs2017
clangclx64ninja:
arch: x64
compiler: clang-cl
backend: ninja
steps:
- template: ci/azure-steps.yml
- job: cygwin
pool:
vmImage: VS2017-Win2016
strategy:
matrix:
gccx64ninja: {}
variables:
CYGWIN_ROOT: $(System.Workfolder)\cygwin
CYGWIN_MIRROR: http://cygwin.mirror.constant.com
steps:
- script: |
choco install cygwin --params="/InstallDir:%CYGWIN_ROOT%"
displayName: Install Cygwin
- script: |
%CYGWIN_ROOT%\cygwinsetup.exe -qnNdO -R "%CYGWIN_ROOT%" -s "%CYGWIN_MIRROR%" -g -P ^
gcc-objc++,^
gcc-objc,^
git,^
gobject-introspection,^
libboost-devel,^
libglib2.0-devel,^
libgtk3-devel,^
ninja,^
python3-pip,^
vala,^
zlib-devel
displayName: Install Dependencies
- script: |
set PATH=%CYGWIN_ROOT%\bin;%SYSTEMROOT%\system32
env.exe -- python3 run_tests.py --backend=ninja
displayName: Run Tests
- task: CopyFiles@2
condition: not(canceled())
inputs:
contents: 'meson-test-run.*'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishBuildArtifacts@1
inputs:
artifactName: $(System.JobName)
# publishing artifacts from PRs from a fork is currently blocked
condition: and(eq(variables['system.pullrequest.isfork'], false), not(canceled()))
- task: PublishTestResults@2
condition: not(canceled())
inputs:
testResultsFiles: meson-test-run.xml
testRunTitle: $(System.JobName)