summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azure-steps-windows.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/azure-steps-windows.yml b/azure-steps-windows.yml
index a147ffd7a..a946addd6 100644
--- a/azure-steps-windows.yml
+++ b/azure-steps-windows.yml
@@ -14,8 +14,9 @@ steps:
displayName: 'Install dependencies; some are optional to avoid test skips'
- powershell: |
- choco install -y rtools
- refreshenv
+ # rtools 42+ does not support 32 bits builds.
+ choco install -y rtools --noprogress --force --version=4.0.0.20220206
+ echo "##vso[task.setvariable variable=RTOOLS40_HOME]c:\rtools40"
displayName: 'Install rtools'
- powershell: |