From efa55c9e1c19621290ddf226002feed9710185e8 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Thu, 11 Oct 2018 17:43:55 +0100 Subject: Set env vars so MS-MPI tests are run Import MS-MPI env vars set by installer in registry to environment Skip testing we can apply a version constraint to MPI when version isn't known (as is the case for MS-MPI) (These tests have never worked in appveyor) --- ci/azure-steps.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ci') diff --git a/ci/azure-steps.yml b/ci/azure-steps.yml index 984d05d74..4cb6ac8ba 100644 --- a/ci/azure-steps.yml +++ b/ci/azure-steps.yml @@ -39,6 +39,12 @@ steps: Start-Process msiexec.exe -ArgumentList '/i msmpisdk.msi /quiet' -Wait 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") { + $v = [Environment]::GetEnvironmentVariable($p, "Machine") + Set-Content "env:$p" "$v" + } + # add downloads to PATH $env:Path = "$env:SYSTEM_WORKFOLDER;$env:Path" -- cgit v1.2.3