Only run Window script on Windows

This commit is contained in:
Alex Crichton 2019-05-21 11:01:39 -07:00
parent e8f0e70b00
commit a2255518c7
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ steps:
mkdir c:\MORE_SPACE
mklink /J build c:\MORE_SPACE
)
displayName: "Ensure build happens on C:/ instead of D:/"
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
- script: |
set MSYS_PATH=%CD%\citools\msys64