File tree Expand file tree Collapse file tree 4 files changed +19
-29
lines changed
Expand file tree Collapse file tree 4 files changed +19
-29
lines changed Original file line number Diff line number Diff line change 9191 displayName : ' Windows (amd64; MinGW)'
9292 pool : Hosted
9393 steps :
94- - powershell : . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.ps1 '
94+ - bash : . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.sh '
9595 displayName : Setup
9696 env :
9797 TEMP : $(Agent.TempDirectory)
@@ -106,7 +106,7 @@ jobs:
106106 displayName : ' Windows (x86; MinGW)'
107107 pool : Hosted
108108 steps :
109- - powershell : . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.ps1 '
109+ - bash : . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.sh '
110110 displayName : Setup
111111 workingDirectory : ' $(Build.BinariesDirectory)'
112112 env :
Original file line number Diff line number Diff line change 9494 displayName : ' Windows (amd64; MinGW)'
9595 pool : Hosted
9696 steps :
97- - powershell : . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.ps1 '
97+ - bash : . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.sh '
9898 displayName : Setup
9999 env :
100100 TEMP : $(Agent.TempDirectory)
@@ -110,7 +110,7 @@ jobs:
110110 displayName : ' Windows (x86; MinGW)'
111111 pool : Hosted
112112 steps :
113- - powershell : . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.ps1 '
113+ - bash : . '$(Build.SourcesDirectory)\azure-pipelines\setup-mingw.sh '
114114 displayName : Setup
115115 workingDirectory : ' $(Build.BinariesDirectory)'
116116 env :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /bin/sh -e
2+
3+ echo " ##############################################################################"
4+ echo " ## Downloading mingw"
5+ echo " ##############################################################################"
6+
7+ case " $ARCH " in
8+ amd64)
9+ MINGW_URI=" https://bintray.com/libgit2/build-dependencies/download_file?file_path=mingw-w64-x86_64-8.1.0-release-win32-seh-rt_v6-rev0.zip" ;;
10+ x86)
11+ MINGW_URI=" https://bintray.com/libgit2/build-dependencies/download_file?file_path=mingw-w64-i686-8.1.0-release-win32-sjlj-rt_v6-rev0.zip" ;;
12+ esac
13+
14+ curl -s -L " $MINGW_URI " -o " $TEMP " /mingw-" $ARCH " .zip
15+ unzip -q " $TEMP " /mingw-" $ARCH " .zip -d " $TEMP "
You can’t perform that action at this time.
0 commit comments