|
4 | 4 | # drive. We should probably confirm this with the azure pipelines team at some
|
5 | 5 | # point, but this seems to fix our "disk space full" problems.
|
6 | 6 | - script: |
|
| 7 | + git config --list --show-origin |
7 | 8 | mkdir c:\MORE_SPACE
|
8 | 9 | mklink /J build c:\MORE_SPACE
|
| 10 | + git config --list --show-origin |
9 | 11 | displayName: "Ensure build happens on C:/ instead of D:/"
|
10 | 12 | condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
11 | 13 |
|
| 14 | +- bash: git config --replace-all --system core.autocrlf false |
| 15 | + displayName: "Disable git automatic line ending conversion (on C:/)" |
| 16 | + |
12 | 17 | # Download and install MSYS2, needed primarily for the test suite (run-make) but
|
13 | 18 | # also used by the MinGW toolchain for assembling things.
|
14 | 19 | #
|
|
30 | 35 |
|
31 | 36 | echo ##vso[task.setvariable variable=MSYS_PATH]%MSYS_PATH%
|
32 | 37 | echo ##vso[task.prependpath]%MSYS_PATH%\usr\bin
|
| 38 | + git config --list |
33 | 39 | displayName: Install msys2
|
34 | 40 | condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
35 | 41 |
|
@@ -59,12 +65,14 @@ steps:
|
59 | 65 | powershell -Command "$ProgressPreference = 'SilentlyContinue'; iwr -outf 2017-04-20-%MSYS_BITS%bit-gdborig.exe %MINGW_URL%/2017-04-20-%MSYS_BITS%bit-gdborig.exe"
|
60 | 66 | mv 2017-04-20-%MSYS_BITS%bit-gdborig.exe %MINGW_DIR%\bin\gdborig.exe
|
61 | 67 | echo ##vso[task.prependpath]%CD%\%MINGW_DIR%\bin
|
| 68 | + git config --list --show-origin |
62 | 69 | condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'), ne(variables['MINGW_URL'],''))
|
63 | 70 | displayName: Download custom MinGW
|
64 | 71 |
|
65 | 72 | # Otherwise pull in the MinGW installed on appveyor
|
66 | 73 | - script: |
|
67 | 74 | echo ##vso[task.prependpath]%MSYS_PATH%\mingw%MSYS_BITS%\bin
|
| 75 | + git config --list --show-origin |
68 | 76 | condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'), eq(variables['MINGW_URL'],''))
|
69 | 77 | displayName: Add MinGW to path
|
70 | 78 |
|
|
75 | 83 | - script: |
|
76 | 84 | copy C:\Python27amd64\python.exe C:\Python27amd64\python2.7.exe
|
77 | 85 | echo ##vso[task.prependpath]C:\Python27amd64
|
| 86 | + git config --list --show-origin |
78 | 87 | displayName: Prefer the "native" Python as LLVM has trouble building with MSYS sometimes
|
79 | 88 | condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
80 | 89 |
|
|
87 | 96 | set RUST_CONFIGURE_ARGS=%RUST_CONFIGURE_ARGS% --enable-ninja
|
88 | 97 | echo ##vso[task.setvariable variable=RUST_CONFIGURE_ARGS]%RUST_CONFIGURE_ARGS%
|
89 | 98 | echo ##vso[task.prependpath]%CD%\ninja
|
| 99 | + git config --list --show-origin |
90 | 100 | displayName: Download and install ninja
|
91 | 101 | condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
|
0 commit comments