This commit is contained in:
rankun 2020-02-20 12:16:15 +08:00
commit 4790effdd6
2 changed files with 2 additions and 8 deletions

View file

@ -22,7 +22,7 @@ jobs:
strategy: strategy:
# 矩阵配置 # 矩阵配置
matrix: matrix:
qt_ver: [5.12.5] qt_ver: [5.12.7]
qt_target: [desktop] qt_target: [desktop]
# mingw用不了 # mingw用不了
# qt_arch: [win64_msvc2017_64, win32_msvc2017, win32_mingw53,win32_mingw73] # qt_arch: [win64_msvc2017_64, win32_msvc2017, win32_mingw53,win32_mingw73]
@ -39,12 +39,6 @@ jobs:
targetName: QtScrcpy.exe targetName: QtScrcpy.exe
# 步骤 # 步骤
steps: steps:
- name: cacheQt
id: WindowsCacheQt
uses: actions/cache@v1
with:
path: ../Qt/${{matrix.qt_ver}}/${{matrix.qt_arch_install}}
key: ${{ runner.os }}-Qt/${{matrix.qt_ver}}/${{matrix.qt_arch}}
- name: setupQt - name: setupQt
if: steps.WindowsCacheQt.outputs.cache-hit == 'true' if: steps.WindowsCacheQt.outputs.cache-hit == 'true'
shell: pwsh shell: pwsh

View file

@ -1,6 +1,6 @@
@echo off @echo off
set vcvarsall="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" set vcvarsall="C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat"
set qt_msvc_path="d:\a\QtScrcpy\Qt\5.12.5\" set qt_msvc_path="d:\a\QtScrcpy\Qt\5.12.7\"
set build_path_name="../build-win" set build_path_name="../build-win"
:: 获取脚本绝对路径 :: 获取脚本绝对路径