aboutsummaryrefslogtreecommitdiff
path: root/ci/azure-steps.yml
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-10-10 20:32:08 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2018-10-14 16:01:36 +0100
commit9717fb81646f0e6a17abd1a5e0ed8d3ccde64412 (patch)
treea34c947a09ca61c39602ec8b65ae480c4b3cfa49 /ci/azure-steps.yml
parent3582108fe77d06e476ab832cd802676b7757ad05 (diff)
downloadmeson-9717fb81646f0e6a17abd1a5e0ed8d3ccde64412.zip
meson-9717fb81646f0e6a17abd1a5e0ed8d3ccde64412.tar.gz
meson-9717fb81646f0e6a17abd1a5e0ed8d3ccde64412.tar.bz2
Add resgen to PATH so csharp tests are run
Diffstat (limited to 'ci/azure-steps.yml')
-rw-r--r--ci/azure-steps.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml
index 6126115..984d05d 100644
--- a/ci/azure-steps.yml
+++ b/ci/azure-steps.yml
@@ -49,6 +49,12 @@ steps:
$vsver = $env:compiler.Replace('msvc', '')
Import-VisualStudioVars -VisualStudioVersion $vsver -Architecture $(arch)
+ # add .NET framework tools to path for resgen for C# tests
+ # (always use 32-bit tool, as there doesn't seem to be a 64-bit tool)
+ if ((Get-Command "resgen.exe" -ErrorAction SilentlyContinue) -eq $null) {
+ $env:Path = "$env:WindowsSDK_ExecutablePath_x86;$env:Path"
+ }
+
if ($env:backend -eq 'ninja') {
ninja --version
} else {