Skip to content

Commit

Permalink
ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed May 21, 2024
1 parent a01d595 commit 5587c60
Showing 1 changed file with 7 additions and 18 deletions.
25 changes: 7 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,9 @@ jobs:
runs-on: ubuntu-latest # for libaria2-0 available
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v2.13.0
uses: jurplel/install-qt-action@v4
with:
version: 5.15.2
cached: "false"
modules: qtwebengine
- name: ubuntu install packages
run: |
Expand Down Expand Up @@ -132,31 +131,21 @@ jobs:
fail-fast: false
matrix:
include:
# - qt_arch: win32_mingw81
# qt_ver: 5.15.2
# qt_tools: "tools_mingw,8.1.0-1-202004170606,qt.tools.win32_mingw810"
# qt_tools_mingw_install: mingw810_32
# mingw_arch: mingw32
# msys_arch: i686
# x64_suffix:
- qt_arch: win64_mingw
- qt_arch: win64_mingw81
qt_ver: 5.15.2
qt_tools: "tools_mingw81"
qt_tools_mingw_install: mingw810_64
mingw_arch: mingw64
msys_arch: x86_64
x64_suffix: -x64
modules:
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
host: 'windows'
target: 'desktop'
version: ${{ matrix.qt_ver }}
arch: ${{ matrix.qt_arch }}
tools: ${{ matrix.qt_tools }}
cached: "false"
modules: ${{ matrix.modules }}
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -184,8 +173,8 @@ jobs:
if: ${{ startsWith( matrix.qt_ver, 6 ) }}
shell: pwsh
run: |
Write-Output "${{ env.Qt6_DIR }}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Write-Output "${{ env.Qt6_DIR }}/../../Tools/${{ matrix.qt_tools_mingw_install }}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Write-Output "${{ env.QT_ROOT_DIR }}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Write-Output "${{ env.QT_ROOT_DIR }}/../../Tools/${{ matrix.qt_tools_mingw_install }}/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: where is qmake & where is mingw32-make
shell: pwsh
run: |
Expand Down Expand Up @@ -221,7 +210,7 @@ jobs:
cp C:/msys64/${{ matrix.mingw_arch }}/bin/libsqlite3-0.dll deploy/
cp C:/msys64/${{ matrix.mingw_arch }}/bin/libssh2-1.dll deploy/
cp C:/msys64/${{ matrix.mingw_arch }}/bin/libxml2-2.dll deploy/
windeployqt.exe --no-translations --no-opengl-sw --no-system-d3d-compiler --no-quick-import --qmldir "${{ env.Qt6_DIR }}/qml" deploy/modmanager.exe
windeployqt.exe --no-translations --no-opengl-sw --no-system-d3d-compiler --no-quick-import --qmldir "${{ env.QT_ROOT_DIR }}/qml" deploy/modmanager.exe
- name: x64 dependencies
if: contains(matrix.mingw_arch, 'mingw64')
run : |
Expand Down Expand Up @@ -377,7 +366,7 @@ jobs:
qt_arch: [clang_64]
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
aqtversion: '==2.1.*'
version: ${{ matrix.qt_ver }}
Expand Down

0 comments on commit 5587c60

Please sign in to comment.