From 976ca72f157ebe70fa859a4b36cc2d70186ffbdb Mon Sep 17 00:00:00 2001 From: kaniol-lck <375520360@qq.com> Date: Tue, 21 May 2024 16:48:16 +0800 Subject: [PATCH] ci test --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b45554..eb6d6ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -163,14 +163,19 @@ jobs: shell: bash run: | sed -i "s/$RAW_VERSION/$VERSION/" src/version.h + - name: Install dependencies for Qt 5 + if: ${{ startsWith( matrix.qt_ver, 5 ) }} + shell: powershell + run: | + C:/msys64/usr/bin/pacman -S mingw-w64-${{ matrix.msys_arch }}-aria2 --noconfirm + C:/msys64/usr/bin/pacman -S mingw-w64-${{ matrix.msys_arch }}-quazip-qt5 --noconfirm - name: Install dependencies for Qt 6 if: ${{ startsWith( matrix.qt_ver, 6 ) }} shell: powershell run: | C:/msys64/usr/bin/pacman -S mingw-w64-${{ matrix.msys_arch }}-aria2 --noconfirm C:/msys64/usr/bin/pacman -S mingw-w64-${{ matrix.msys_arch }}-quazip-qt6 --noconfirm - - name: Qt 6 environment configuration - if: ${{ startsWith( matrix.qt_ver, 6 ) }} + - name: environment configuration shell: pwsh run: | Write-Output "${{ env.QT_ROOT_DIR }}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append @@ -362,7 +367,7 @@ jobs: fail-fast: false matrix: os: [macOS-latest] - qt_ver: [6.4.1] + qt_ver: [5.15.2] qt_arch: [clang_64] steps: - name: Install Qt