aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-10-10 18:00:45 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2018-11-13 16:13:44 +0000
commita59978cfa2287fe2c116cd9edf53559306692fe9 (patch)
treef59c9a31104365e26a1be9df0ba862b8396bd25a /ci
parent5ec4da7829e27325661448240db14be59053f54b (diff)
downloadmeson-a59978cfa2287fe2c116cd9edf53559306692fe9.zip
meson-a59978cfa2287fe2c116cd9edf53559306692fe9.tar.gz
meson-a59978cfa2287fe2c116cd9edf53559306692fe9.tar.bz2
azure: Enable vs2015 jobs
Don't run MPI runtime installer, which fails with vs2015 image
Diffstat (limited to 'ci')
-rw-r--r--ci/azure-steps.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml
index 1c7e125..db532c8 100644
--- a/ci/azure-steps.yml
+++ b/ci/azure-steps.yml
@@ -31,8 +31,11 @@ steps:
DownloadFile -Source 'http://nirbheek.in/files/binaries/pkg-config/win32/pkg-config.exe' -Destination $(System.WorkFolder)\pkg-config.exe
DownloadFile -Source 'https://download.microsoft.com/download/D/B/B/DBB64BA1-7B51-43DB-8BF1-D1FB45EACF7A/msmpisdk.msi' -Destination msmpisdk.msi
DownloadFile -Source 'https://download.microsoft.com/download/D/B/B/DBB64BA1-7B51-43DB-8BF1-D1FB45EACF7A/MSMpiSetup.exe' -Destination MSMpiSetup.exe
- Start-Process msiexec.exe -ArgumentList '/i msmpisdk.msi /quiet' -Wait
- Start-Process .\MSMpiSetup.exe -ArgumentList '-unattend -full' -Wait
+ if ($env:compiler -ne 'msvc2015') {
+ Start-Process msiexec.exe -ArgumentList '/i msmpisdk.msi /quiet' -Wait
+ # installer fails "requires an interactive window station" with vs2015 image
+ Start-Process .\MSMpiSetup.exe -ArgumentList '-unattend -full' -Wait
+ }
# import ms-mpi env vars (set by installer)
foreach ($p in "MSMPI_INC", "MSMPI_LIB32", "MSMPI_LIB64") {