Disable failing cmake jobs on VS2017

These only fail when building with msvc/clang-cl on the VS2017-Win2016
image. See: https://github.com/mesonbuild/meson/issues/7307
pull/7319/head
Nirbheek Chauhan 4 years ago committed by Nirbheek Chauhan
parent 6c56478ee1
commit e121942fcd
  1. 2
      azure-pipelines.yml
  2. 7
      test cases/cmake/2 advanced/meson.build
  3. 7
      test cases/cmake/5 object library/meson.build

@ -15,6 +15,8 @@ jobs:
- job: vs2017
pool:
vmImage: VS2017-Win2016
variables:
CI_JOB_VS2017: 1
strategy:
matrix:

@ -5,6 +5,13 @@ if not dep_test.found()
error('MESON_SKIP_TEST: zlib is not installed')
endif
py3 = import('python').find_installation('python3')
get_envvar = '''import os, sys; print(os.environ.get('@0@', 0), end='')'''
# Remove this env var from azure-pipelines.yml when fixed
if run_command(py3, '-c', get_envvar.format('CI_JOB_VS2017')).stdout() == '1'
error('MESON_SKIP_TEST: broken for vs2017 jobs')
endif
cm = import('cmake')
# Test the "normal" subproject call

@ -5,6 +5,13 @@ if not dep_test.found()
error('MESON_SKIP_TEST: zlib is not installed')
endif
py3 = import('python').find_installation('python3')
get_envvar = '''import os, sys; print(os.environ.get('@0@', 0), end='')'''
# Remove this env var from azure-pipelines.yml when fixed
if run_command(py3, '-c', get_envvar.format('CI_JOB_VS2017')).stdout() == '1'
error('MESON_SKIP_TEST: broken for vs2017 jobs')
endif
cm = import('cmake')
sub_pro = cm.subproject('cmObjLib')

Loading…
Cancel
Save