aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-11-30 13:52:02 +0100
committerDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-11-30 18:45:34 +0100
commit4c1c26a0e61fa492abb3715fe294fa25ca129649 (patch)
tree93ab1dbd521c3c9022c4e1b910eb34a5cecd63c0 /.github/workflows/build.yml
parent99dd9874df18fc7bea6114466c3c36597cf7d849 (diff)
downloadPrismLauncher-4c1c26a0e61fa492abb3715fe294fa25ca129649.tar.gz
PrismLauncher-4c1c26a0e61fa492abb3715fe294fa25ca129649.tar.bz2
PrismLauncher-4c1c26a0e61fa492abb3715fe294fa25ca129649.zip
chore: drop Windows-MinGW-w64-Legacy
this brings back the number of builds as the same as before the pr this is one of the slowest builds + windows 7/8.1 users can just use Windows-MSVC-Legacy Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml27
1 files changed, 8 insertions, 19 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b18ef30f..1ba5d0e4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -38,14 +38,8 @@ jobs:
qt_tools: ''
- os: windows-2022
- name: "Windows-MinGW-w64-Legacy"
- msystem: clang32
- qt_ver: 5
-
- - os: windows-2022
name: "Windows-MinGW-w64"
msystem: clang64
- qt_ver: 6
- os: windows-2022
name: "Windows-MSVC-Legacy"
@@ -135,12 +129,12 @@ jobs:
cmake:p
extra-cmake-modules:p
ninja:p
- qt${{ matrix.qt_ver }}-base:p
- qt${{ matrix.qt_ver }}-svg:p
- qt${{ matrix.qt_ver }}-imageformats:p
- quazip-qt${{ matrix.qt_ver }}:p
+ qt6-base:p
+ qt6-svg:p
+ qt6-imageformats:p
+ quazip-qt6:p
ccache:p
- ${{ matrix.qt_ver == 6 && 'qt6-5compat:p' || '' }}
+ qt6-5compat:p
- name: Force newer ccache
if: runner.os == 'Windows' && matrix.msystem == '' && inputs.build_type == 'Debug'
@@ -174,9 +168,9 @@ jobs:
uses: actions/cache@v3.0.11
with:
path: '${{ github.workspace }}\.ccache'
- key: ${{ matrix.os }}-qt${{ matrix.qt_ver }}
+ key: ${{ matrix.os }}-mingw-w64
restore-keys: |
- ${{ matrix.os }}-qt${{ matrix.qt_ver }}
+ ${{ matrix.os }}-mingw-w64
- name: Set short version
shell: bash
@@ -267,7 +261,7 @@ jobs:
if: runner.os == 'Windows' && matrix.msystem != ''
shell: msys2 {0}
run: |
- cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=${{ matrix.name }} -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DLauncher_QT_VERSION_MAJOR=${{ matrix.qt_ver }} -DCMAKE_OBJDUMP=/mingw64/bin/objdump.exe -G Ninja
+ cmake -S . -B ${{ env.BUILD_DIR }} -DCMAKE_INSTALL_PREFIX=${{ env.INSTALL_DIR }} -DCMAKE_BUILD_TYPE=${{ inputs.build_type }} -DENABLE_LTO=ON -DLauncher_BUILD_PLATFORM=${{ matrix.name }} -DCMAKE_C_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ env.CCACHE_VAR }} -DLauncher_QT_VERSION_MAJOR=6 -DCMAKE_OBJDUMP=/mingw64/bin/objdump.exe -G Ninja
- name: Configure CMake (Windows MSVC)
if: runner.os == 'Windows' && matrix.msystem == ''
@@ -369,11 +363,6 @@ jobs:
run: |
cmake --install ${{ env.BUILD_DIR }}
- cd ${{ env.INSTALL_DIR }}
- if [ "${{ matrix.qt_ver }}" == "5" ]; then
- cp /clang32/bin/libcrypto-1_1.dll /clang32/bin/libssl-1_1.dll ./
- fi
-
- name: Package (Windows MSVC)
if: runner.os == 'Windows' && matrix.msystem == ''
run: |