diff options
| author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-10-10 20:32:08 +0100 |
|---|---|---|
| committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-10-14 16:01:36 +0100 |
| commit | 9717fb81646f0e6a17abd1a5e0ed8d3ccde64412 (patch) | |
| tree | a34c947a09ca61c39602ec8b65ae480c4b3cfa49 | |
| parent | 3582108fe77d06e476ab832cd802676b7757ad05 (diff) | |
| download | meson-9717fb81646f0e6a17abd1a5e0ed8d3ccde64412.tar.gz | |
Add resgen to PATH so csharp tests are run
| -rw-r--r-- | ci/azure-steps.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml index 6126115b6..984d05d74 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 { |
