Skip to content

Commit 74fb1ec

Browse files
committed
install qtifw
1 parent 15648f3 commit 74fb1ec

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,18 @@ jobs:
2626
include:
2727
- platform: gcc_64
2828
os: ubuntu-latest
29+
qtifw-host: linux
2930
- platform: android
3031
os: ubuntu-latest
3132
- platform: wasm_32
3233
os: ubuntu-latest
3334
emsdk: sdk-fastcomp-1.38.27-64bit
3435
- platform: msvc2017_64
3536
os: windows-2016
37+
qtifw-host: windows
3638
- platform: msvc2017
3739
os: windows-2016
40+
qtifw-host: windows
3841
- platform: winrt_x64_msvc2017
3942
os: windows-2016
4043
- platform: winrt_x86_msvc2017
@@ -43,10 +46,13 @@ jobs:
4346
os: windows-2016
4447
- platform: mingw73_64
4548
os: windows-latest
49+
qtifw-host: windows
4650
- platform: mingw73_32
4751
os: windows-latest
52+
qtifw-host: windows
4853
- platform: clang_64
4954
os: macos-latest
55+
qtifw-host: mac
5056
- platform: ios
5157
os: macos-latest
5258

@@ -113,6 +119,15 @@ jobs:
113119
${{steps.qt.outputs.make}} install
114120
pkg-config --exists packagekitqt5
115121
working-directory: src/3rdparty/PackageKit-Qt
122+
- name: install QtIfw to cache
123+
if: steps.cache-qt.outputs.cache-hit != 'true' && steps.qt.outputs.tests == 'true'
124+
run: |
125+
python -m pip install aqtinstall
126+
python -m aqt tool ${{matrix.qtifw-host}} tools_ifw 3.1.1 qt.tools.ifw.31 --outputdir ${{steps.qt.outputs.qtdir}}/qtifw --internal
127+
- name: copy QtIfw from cache
128+
if: steps.qt.outputs.tests == 'true'
129+
run: cp -a "${{steps.qt.outputs.qtdir}}/qtifw/Tools" "${{steps.qt.outputs.qtdir}}/../../
130+
shell: bash
116131
- name: qmake
117132
run: |
118133
qmake CONFIG+=install_ok QT_PLATFORM=${{matrix.platform}}

0 commit comments

Comments
 (0)