From bf14dc88cc2a9580ceb2feca1a1ec6a9ec6ab117 Mon Sep 17 00:00:00 2001 From: Labnan Date: Mon, 4 Dec 2023 23:35:02 +0600 Subject: [PATCH] Temporarily Remove win32-5152 Workflow The workflow windows-5152 is broken. This patch may be used as a temporary workaround until a solution is produced. Which should make the download links functional again. --- .github/workflows/main.yml | 115 ------------------------------------- 1 file changed, 115 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d0e9989c6..727a322d4c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -218,121 +218,6 @@ jobs: name: mmc-cracked-win32 path: "D:/UltimMC" - build-windows-5152: - name: build-windows-5152 - runs-on: windows-latest - - steps: - - uses: actions/checkout@main - with: - submodules: 'recursive' - - - name: Install Qt - uses: jurplel/install-qt-action@v3 - with: - arch: "win32_mingw81" - cache: true - dir: "D:" - tools: 'tools_mingw,qt.tools.win32_mingw810 tools_openssl_x86' - - - name: Setup CMake - run: | - curl -L $(curl -s https://api.github.com/repos/kitware/cmake/releases/latest | python -c "import sys, json; print(json.load(sys.stdin)['assets'][14]['browser_download_url'])") -o cmake.zip - unzip cmake.zip - - - name: Setup JDK - uses: actions/setup-java@v3 - with: - distribution: 'zulu' - java-version: '8' - architecture: x86 - - - name: Setup zlib - run: | - mkdir zlib - cd zlib - C:\msys64\usr\bin\wget.exe -O zlib.zip https://downloads.sourceforge.net/project/gnuwin32/zlib/1.2.3/zlib-1.2.3-bin.zip - C:\msys64\usr\bin\wget.exe -O zliblibs.zip https://downloads.sourceforge.net/project/gnuwin32/zlib/1.2.3/zlib-1.2.3-lib.zip - unzip zlib.zip - unzip zliblibs.zip - - - name: Build - shell: cmd - if: steps.build-cached.outputs.cache-hit != 'true' - run: | - for /f "tokens=*" %%n in ('powershell -NoLogo -Command "$(ls $pwd\cmake-*-windows-i386\bin).Fullname"') do @(set PATHCM=%%n) - set PATH=D:\Qt\5.15.2\mingw81_32\bin;D:\Qt\Tools\mingw810_32\bin; - set PATH=%CD%\zlib;%CD%\zlib\bin;%CD%\zlib\lib;%CD%\zlib\include;%PATH% - set PATH=%CD%\OpenSSL;%PATH% - set PATH=%PATHCM%;%PATH% - mkdir build - cd build - cmake ^ - -DCMAKE_C_COMPILER=gcc ^ - -DCMAKE_CXX_COMPILER=g++ ^ - -DCMAKE_BUILD_TYPE=Release ^ - -DLauncher_NOTIFICATION_URL:STRING=https://files.multimc.org/notifications.json ^ - -DCMAKE_INSTALL_PREFIX:PATH="D:/UltimMC/UltimMC" ^ - -DCMAKE_PREFIX_PATH="D:\Qt\5.15.2\mingw81_32" ^ - -DQt5_DIR="D:\Qt\5.15.2\mingw81_32" ^ - -DLauncher_UPDATER_BASE=https://files.multimc.org/update/ ^ - -DLauncher_PASTE_EE_API_KEY:STRING=utLvciUouSURFzfjPxLBf5W4ISsUX4pwBDF7N1AfZ ^ - -DLauncher_ANALYTICS_ID:STRING=UA-87731965-2 ^ - -DLauncher_LAYOUT=win-bundle ^ - -DLauncher_BUILD_PLATFORM=win32-5.15.2 ^ - -DLauncher_BUG_TRACKER_URL=https://github.com/UltimMC/Launcher/issues ^ - -G "MinGW Makefiles" ^ - .. - - - name: Compile - shell: cmd - run: | - for /f "tokens=*" %%n in ('powershell -NoLogo -Command "$(ls $pwd\cmake-*-windows-i386\bin).Fullname"') do @(set PATHCM=%%n) - set PATH=D:\Qt\5.15.2\mingw81_32\bin;D:\Qt\Tools\mingw810_32\bin; - set PATH=%CD%\zlib;%CD%\zlib\bin;%PATH% - set PATH=%CD%\OpenSSL;%PATH% - set PATH=%PATHCM%;%PATH% - set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;%PATH% - cd build - mingw32-make tcversion - mingw32-make -j%NUMBER_OF_PROCESSORS% - - - name: Test - shell: cmd - run: | - for /f "tokens=*" %%n in ('powershell -NoLogo -Command "$(ls $pwd\cmake-*-windows-i386\bin).Fullname"') do @(set PATHCM=%%n) - set PATH=D:\Qt\5.15.2\mingw81_32\bin;D:\Qt\Tools\mingw810_32\bin; - set PATH=%CD%\zlib;%CD%\zlib\bin;%PATH% - set PATH=%CD%\OpenSSL;%PATH% - set PATH=%PATHCM%;%PATH% - set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;%PATH% - cd build - mingw32-make test - cmake -E remove_directory "D:/UltimMC/UltimMC" - - - name: Install - shell: cmd - run: | - for /f "tokens=*" %%n in ('powershell -NoLogo -Command "$(ls $pwd\cmake-*-windows-i386\bin).Fullname"') do @(set PATHCM=%%n) - set PATH=D:\Qt\5.15.2\mingw81_32\bin;D:\Qt\Tools\mingw810_32\bin; - set PATH=%CD%\zlib;%CD%\zlib\bin;%PATH% - set PATH=%CD%\OpenSSL;%PATH% - set PATH=%PATHCM%;%PATH% - set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;%PATH% - cd build - mingw32-make install - - - name: Copy OpenSSL - shell: cmd - run: | - copy "D:\Qt\Tools\OpenSSL\Win_x86\bin\*.dll" "D:\UltimMC\UltimMC" - - - name: Upload Artifacts - uses: actions/upload-artifact@main - with: - name: mmc-cracked-win32-5152 - path: "D:/UltimMC" - build-mac: name: build-mac runs-on: macos-latest