aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authortxtsd <thexerothermicsclerodermoid@gmail.com>2022-02-08 18:44:30 +0530
committertxtsd <thexerothermicsclerodermoid@gmail.com>2022-02-11 18:05:26 +0530
commit3eee38fedd50f41b5428fddbfb5583a61674f9b7 (patch)
treec16b3ba2a5765a00f8eefde4a17a573b2c7b942f /.github
parent0ba61bb5903a22044decaa9390437e83be0dadd7 (diff)
downloadPrismLauncher-3eee38fedd50f41b5428fddbfb5583a61674f9b7.tar.gz
PrismLauncher-3eee38fedd50f41b5428fddbfb5583a61674f9b7.tar.bz2
PrismLauncher-3eee38fedd50f41b5428fddbfb5583a61674f9b7.zip
Make 32bit Windows build instead
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml20
1 files changed, 15 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 42661b09..574c9c3e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -22,7 +22,7 @@ jobs:
- os: windows-2022
qt_version: 5.15.2
qt_host: windows
- qt_arch: win64_mingw81
+ qt_arch: win32_mingw81
- os: macos-11
qt_version: 5.12.12
@@ -37,6 +37,16 @@ jobs:
BUILD_DIR: "build"
steps:
+ - name: Install 32bit mingw on Windows
+ if: runner.os == 'Windows'
+ uses: egor-tensin/setup-mingw@v2
+ with:
+ platform: x86
+
+ - name: Install 32bit zlib via Strawberry on Windows
+ if: runner.os == 'Windows'
+ run: |
+ choco install strawberryperl -y --force --x86
- name: Checkout
uses: actions/checkout@v2
@@ -53,7 +63,7 @@ jobs:
uses: actions/cache@v2
with:
path: "${{ github.workspace }}/Qt/"
- key: ${{ runner.os }}-${{ matrix.qt_version }}-qt_cache
+ key: ${{ runner.os }}-${{ matrix.qt_version }}-${{ matrix.qt_arch }}-qt_cache
- name: Install Qt
uses: jurplel/install-qt-action@v2
@@ -136,9 +146,9 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install aqtinstall==2.0.5
- python -m aqt install-tool -O "${{ github.workspace }}\Qt\" windows desktop tools_openssl_x64
- copy "${{ github.workspace }}\Qt\Tools\OpenSSL\Win_x64\bin\libssl-1_1-x64.dll" "${{ github.workspace }}\${{ env.INSTALL_DIR }}\"
- copy "${{ github.workspace }}\Qt\Tools\OpenSSL\Win_x64\bin\libcrypto-1_1-x64.dll" "${{ github.workspace }}\${{ env.INSTALL_DIR }}\"
+ python -m aqt install-tool -O "${{ github.workspace }}\Qt\" windows desktop tools_openssl_x86
+ copy "${{ github.workspace }}\Qt\Tools\OpenSSL\Win_x86\bin\libssl-1_1.dll" "${{ github.workspace }}\${{ env.INSTALL_DIR }}\"
+ copy "${{ github.workspace }}\Qt\Tools\OpenSSL\Win_x86\bin\libcrypto-1_1.dll" "${{ github.workspace }}\${{ env.INSTALL_DIR }}\"
- name: Run macdeployqt
if: runner.os == 'macOS'