File tree 1 file changed +8
-17
lines changed 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -174,22 +174,13 @@ jobs:
174
174
matrix :
175
175
arch : [x64, arm64]
176
176
steps :
177
- - uses : actions/checkout@v1
178
- - name : download git-sdk-64-minimal
179
- shell : bash
180
- run : |
181
- ## Get artifact
182
- urlbase=https://dev.azure.com/git-for-windows/git/_apis/build/builds
183
- id=$(curl "$urlbase?definitions=22&statusFilter=completed&resultFilter=succeeded&\$top=1" |
184
- jq -r ".value[] | .id")
185
- download_url="$(curl "$urlbase/$id/artifacts" |
186
- jq -r '.value[] | select(.name == "git-sdk-64-minimal").resource.downloadUrl')"
187
- curl --connect-timeout 10 --retry 5 --retry-delay 0 --retry-max-time 240 \
188
- -o artifacts.zip "$download_url"
189
-
190
- ## Unzip and remove the artifact
191
- unzip artifacts.zip
192
- rm artifacts.zip
177
+ - uses : actions/checkout@v2
178
+ - name : Setup Git for Windows' minimal SDK
179
+ uses : git-for-windows/setup-git-for-windows-sdk@v0
180
+ with :
181
+ flavor : minimal
182
+ path : ./git-sdk-64-minimal
183
+ cache : true
193
184
- name : initialize vcpkg
194
185
uses : actions/checkout@v2
195
186
with :
@@ -215,7 +206,7 @@ jobs:
215
206
shell : bash
216
207
run : |
217
208
cmake `pwd`/contrib/buildsystems/ -DCMAKE_PREFIX_PATH=`pwd`/compat/vcbuild/vcpkg/installed/${{ matrix.arch }}-windows \
218
- -DMSGFMT_EXE=`pwd`/git-sdk-64-minimal/mingw64/bin/msgfmt.exe -DPERL_TESTS=OFF -DPYTHON_TESTS=OFF -DCURL_NO_CURL_CMAKE=ON -DCMAKE_GENERATOR_PLATFORM=${{ matrix.arch }} -DVCPKG_ARCH=${{ matrix.arch }}-windows
209
+ -DNO_GETTEXT=YesPlease -DPERL_TESTS=OFF -DPYTHON_TESTS=OFF -DCURL_NO_CURL_CMAKE=ON -DCMAKE_GENERATOR_PLATFORM=${{ matrix.arch }} -DVCPKG_ARCH=${{ matrix.arch }}-windows
219
210
- name : MSBuild
220
211
run : msbuild git.sln -property:Configuration=Release -property:Platform=${{ matrix.arch }} -maxCpuCount:4 -property:PlatformToolset=v142
221
212
- name : bundle artifact tar
You can’t perform that action at this time.
0 commit comments