File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,13 +91,22 @@ jobs:
9191 7z x z3-%Z3_VERSION%-${{ matrix.arch }}-win.zip -oexternals -r -y || exit /b !errorlevel!
9292 move externals\z3-%Z3_VERSION%-${{ matrix.arch }}-win externals\z3 || exit /b !errorlevel!
9393
94+ - name : Cache Qt ${{ matrix.qt_ver }}
95+ if : matrix.qt_ver != '' && matrix.arch == 'x64'
96+ id : cache-qt
97+ uses : actions/cache@v1 # not v2!
98+ with :
99+ path : ../Qt
100+ key : Windows-QtCache-${{ matrix.qt_ver }}-qtcharts
101+
94102 # no 32-bit Qt available
95103 - name : Install Qt ${{ matrix.qt_ver }}
96104 if : matrix.qt_ver != '' && matrix.arch == 'x64'
97105 uses : jurplel/install-qt-action@v2
98106 with :
99107 version : ${{ matrix.qt_ver }}
100108 modules : ' qtcharts'
109+ cached : ${{ steps.cache-qt.outputs.cache-hit }}
101110
102111 - name : Install missing Python packages
103112 if : matrix.qt_ver == ''
Original file line number Diff line number Diff line change 2727 PCRE_VERSION : 8.45
2828 # see https://github.com/Z3Prover/z3/releases:
2929 Z3_VERSION : 4.8.10
30+ QT_VERSION : 5.15.2
3031
3132 steps :
3233 - uses : actions/checkout@v2
@@ -76,11 +77,19 @@ jobs:
7677 7z x z3-%Z3_VERSION%-x64-win.zip -oexternals -r -y
7778 move externals\z3-%Z3_VERSION%-x64-win externals\z3
7879
79- - name : Install Qt
80+ - name : Cache Qt ${{ env.QT_VERSION }}
81+ id : cache-qt
82+ uses : actions/cache@v1 # not v2!
83+ with :
84+ path : ../Qt
85+ key : Windows-QtCache-${{ env.QT_VERSION }}-qtcharts-qthelp
86+
87+ - name : Install Qt ${{ env.QT_VERSION }}
8088 uses : jurplel/install-qt-action@v2
8189 with :
82- version : ' 5.15.2 '
90+ version : ${{ env.QT_VERSION }}
8391 modules : ' qtcharts qthelp'
92+ cached : ${{ steps.cache-qt.outputs.cache-hit }}
8493
8594 - name : Create .qm
8695 run : |
You can’t perform that action at this time.
0 commit comments