Skip to content

Commit 7fae832

Browse files
authored
Merge pull request #129 from git-for-windows/prepare-for-i686-mingw-builds
Prepare for i686-only MINGW builds
2 parents cc8523e + e821eb5 commit 7fae832

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
description: 'The package to build'
99
required: true
1010
build_only:
11-
description: 'Skip deployment (if non-empty)'
11+
description: 'Skip deployment (if "true")'
1212
required: false
1313
repo:
1414
description: 'The repo containing the package definition'
@@ -115,6 +115,7 @@ jobs:
115115
git -C /usr/src/$REPO reset --hard FETCH_HEAD
116116
117117
- name: check if the package was already deployed
118+
if: env.BUILD_ONLY != 'true'
118119
shell: bash
119120
run: |
120121
./update-scripts/ensure-not-yet-deployed.sh${{ env.ARCHITECTURE != '' && format(' --architecture={0}', env.ARCHITECTURE) || '' }} "/usr/src/$REPO/$PACKAGE_TO_BUILD"
@@ -240,10 +241,12 @@ jobs:
240241
MINGW_ARCHS_TO_BUILD=$(
241242
case "$ARCHITECTURE,$PACKAGE_TO_BUILD" in
242243
aarch64,*) echo "clangarm64";;
243-
*,mingw-w64-wintoast) echo "mingw32 mingw64 clangarm64";; # We're (cross-)compiling via Visual Studio
244-
*,mingw-w64-git-credential-manager) echo "mingw32 mingw64 clangarm64";; # We're downloading the pre-built x86 artifacts and using them for all three platforms
245-
*,mingw-w64-git-lfs) echo "mingw32 mingw64 clangarm64";; # We're downloading the pre-built artifacts from Git LFS' official release page
246-
*) echo "mingw32 mingw64";;
244+
x86_64,*) echo "mingw64";;
245+
i686,*) echo "mingw32";;
246+
,mingw-w64-wintoast) echo "mingw32 mingw64 clangarm64";; # We're (cross-)compiling via Visual Studio
247+
,mingw-w64-git-credential-manager) echo "mingw32 mingw64 clangarm64";; # We're downloading the pre-built x86 artifacts and using them for all three platforms
248+
,mingw-w64-git-lfs) echo "mingw32 mingw64 clangarm64";; # We're downloading the pre-built artifacts from Git LFS' official release page
249+
,*) echo "mingw32 mingw64";;
247250
esac
248251
)
249252

0 commit comments

Comments
 (0)