aboutsummaryrefslogtreecommitdiff
path: root/ci/azure-steps.yml
diff options
context:
space:
mode:
authorAnton Kochkov <anton.kochkov@gmail.com>2019-03-12 13:36:33 +0800
committerJussi Pakkanen <jpakkane@gmail.com>2019-04-16 00:11:02 +0300
commitad0ba6a911b9fcdca24379bb4f14b4b5a312a3d5 (patch)
treee45336ec8a1c1ed9415aae5223b2c9dce198c9d3 /ci/azure-steps.yml
parentb510bc12ac55ffd074b32136802f59f599e14b9e (diff)
downloadmeson-ad0ba6a911b9fcdca24379bb4f14b4b5a312a3d5.zip
meson-ad0ba6a911b9fcdca24379bb4f14b4b5a312a3d5.tar.gz
meson-ad0ba6a911b9fcdca24379bb4f14b4b5a312a3d5.tar.bz2
Add VS2019 backend CI and docs.
Diffstat (limited to 'ci/azure-steps.yml')
-rw-r--r--ci/azure-steps.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml
index d0f6d09..87ab337 100644
--- a/ci/azure-steps.yml
+++ b/ci/azure-steps.yml
@@ -99,6 +99,8 @@ steps:
# import visual studio variables
if ($env:compiler -eq 'msvc2015') {
$vcvars = "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
+ } elseif($env:compiler -eq 'msvc2019') {
+ $vcvars = "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
} else {
$vcvars = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
}
@@ -154,7 +156,10 @@ steps:
echo ""
echo "=== Start running tests ==="
- python run_tests.py --backend $(backend)
+ # Starting from VS2019 Powershell(?) will fail the test run
+ # if it prints anything to stderr. Python's test runner
+ # does that by default so we need to forward it.
+ cmd /c 'python 2>&1' run_tests.py --backend $(backend)
- task: PublishTestResults@2
inputs: