File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -306,27 +306,35 @@ jobs:
306
306
strategy :
307
307
fail-fast : false
308
308
matrix :
309
- bitness : ['32', '64']
309
+ arch :
310
+ - name : i686
311
+ mingw-prefix : mingw32
312
+ msystem : MINGW32
313
+ sdk-repo : git-sdk-32
314
+ - name : x86_64
315
+ mingw-prefix : mingw64
316
+ msystem : MINGW64
317
+ sdk-repo : git-sdk-64
310
318
steps :
311
319
- uses : actions/checkout@v4
312
320
- name : initialize bare SDK clone
313
321
shell : bash
314
322
run : |
315
323
git clone --bare --depth=1 --single-branch --branch=main --filter=blob:none \
316
- https://github.com/git-for-windows/git-sdk- ${{ matrix.bitness }} .sdk
317
- - name : build build-installers-${{ matrix.bitness }} artifact
324
+ https://github.com/git-for-windows/${{ matrix.arch.sdk-repo }} .sdk
325
+ - name : build build-installers-${{ matrix.arch.name }} artifact
318
326
shell : bash
319
327
run : |
320
328
INCLUDE_OBJDUMP=t \
321
329
./please.sh create-sdk-artifact \
322
- --bitness =${{ matrix.bitness }} \
330
+ --architecture =${{ matrix.arch.name }} \
323
331
--sdk=.sdk \
324
332
--out=sdk-artifact \
325
333
build-installers &&
326
334
cygpath -aw "$PWD/sdk-artifact/usr/bin/core_perl" >>$GITHUB_PATH &&
327
335
cygpath -aw "$PWD/sdk-artifact/usr/bin" >>$GITHUB_PATH &&
328
- cygpath -aw "$PWD/sdk-artifact/mingw ${{ matrix.bitness }}/bin" >>$GITHUB_PATH &&
329
- echo "MSYSTEM=MINGW ${{ matrix.bitness }}" >>$GITHUB_ENV
336
+ cygpath -aw "$PWD/sdk-artifact/${{ matrix.arch.mingw-prefix }}/bin" >>$GITHUB_PATH &&
337
+ echo "MSYSTEM=${{ matrix.arch.msystem }}" >>$GITHUB_ENV
330
338
- name : check for missing DLLs
331
339
shell : bash
332
340
run : ./check-for-missing-dlls.sh
You can’t perform that action at this time.
0 commit comments