aboutsummaryrefslogtreecommitdiff
path: root/ci/azure-steps.yml
diff options
context:
space:
mode:
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 984d05d..4cb6ac8 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"