CI Increase cache QT (#1975)

This commit is contained in:
YaoXin 2021-12-19 16:16:19 +08:00 committed by GitHub
parent f50a834ae7
commit ba9a0ba459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 0 deletions

View File

@ -40,6 +40,13 @@ jobs:
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y libfcitx-qt5-dev tree
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1 # not v2!
with:
path: ../Qt
key: ${{ runner.os }}-QtCache
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
@ -47,6 +54,7 @@ jobs:
target: desktop
modules: qtwebchannel qtwebengine qtsvg qtlocation qttools qttranslations
tools: tools_openssl_x64,1.1.1-4,qt.tools.openssl.gcc_64
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Create Build Dir
run: mkdir build

View File

@ -39,12 +39,21 @@ jobs:
git clone https://github.com/tamlok/macdeployqtfix.git macdeployqtfix --depth=1
working-directory: ${{runner.workspace}}
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1 # not v2!
with:
path: ../Qt
key: ${{ runner.os }}-QtCache
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: 5.12.10
target: desktop
modules: qtwebchannel qtwebengine qtsvg qtlocation qttools qttranslations
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Create Build Dir
run: mkdir build

View File

@ -45,6 +45,13 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Cache Qt
id: cache-qt
uses: actions/cache@v1 # not v2!
with:
path: ../Qt
key: ${{ runner.os }}-${{matrix.config.arch}}-QtCache
- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
@ -53,6 +60,7 @@ jobs:
arch: ${{matrix.config.arch}}
modules: qtwebchannel qtwebengine qtsvg qtlocation qttools qttranslations
tools: tools_openssl_${{matrix.config.platform}},1.1.1-4,qt.tools.openssl.win_${{matrix.config.platform}}
cached: ${{ steps.cache-qt.outputs.cache-hit }}
- name: Create Build Dir
shell: bash