feat(actions): enable Windows-i686 Qt 6 builds

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2022-07-09 08:59:43 +02:00
parent 4e99da7b62
commit e2a74dfc30
No known key found for this signature in database
GPG Key ID: C10411294912A422
2 changed files with 6 additions and 4 deletions

View File

@ -26,14 +26,14 @@ jobs:
qt_modules: 'qt5compat qtimageformats'
- os: windows-2022
name: "Windows-i686"
name: "Windows-i686-Legacy"
msystem: mingw32
qt_ver: 5
- os: windows-2022
name: "Windows-x86_64"
msystem: mingw64
qt_ver: 5
name: "Windows-i686"
msystem: mingw32
qt_ver: 6
- os: macos-12
macosx_deployment_target: 10.14

View File

@ -43,9 +43,11 @@ jobs:
for d in PolyMC-Windows-*; do
cd "${d}" || continue
ARCH="$(echo -n ${d} | cut -d '-' -f 3)"
LEGACY="$(echo -n ${d} | grep -o Legacy || true)"
INST="$(echo -n ${d} | grep -o Setup || true)"
PORT="$(echo -n ${d} | grep -o Portable || true)"
NAME="PolyMC-Windows-${ARCH}"
test -z "${LEGACY}" || NAME="${NAME}-Legacy"
test -z "${PORT}" || NAME="${NAME}-Portable"
test -z "${INST}" || mv PolyMC-*.exe ../${NAME}-Setup-${{ env.VERSION }}.exe
test -n "${INST}" || zip -r -9 "../${NAME}-${{ env.VERSION }}.zip" *