mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-09-29 12:49:13 +00:00
fix: a
This commit is contained in:
parent
816d521683
commit
7a142ce415
1 changed files with 8 additions and 8 deletions
16
.github/workflows/windows.yml
vendored
16
.github/workflows/windows.yml
vendored
|
@ -25,16 +25,16 @@ jobs:
|
||||||
qt_ver: [5.12.7]
|
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_msvc2019_64, win32_msvc2019, win32_mingw53,win32_mingw73]
|
||||||
qt_arch: [win64_msvc2017_64, win32_msvc2017]
|
qt_arch: [win64_msvc2019_64, win32_msvc2019]
|
||||||
# 额外设置msvc_arch
|
# 额外设置msvc_arch
|
||||||
include:
|
include:
|
||||||
- qt_arch: win64_msvc2017_64
|
- qt_arch: win64_msvc2019_64
|
||||||
msvc_arch: x64
|
msvc_arch: x64
|
||||||
qt_arch_install: msvc2017_64
|
qt_arch_install: msvc2019_64
|
||||||
- qt_arch: win32_msvc2017
|
- qt_arch: win32_msvc2019
|
||||||
msvc_arch: x86
|
msvc_arch: x86
|
||||||
qt_arch_install: msvc2017
|
qt_arch_install: msvc2019
|
||||||
env:
|
env:
|
||||||
targetName: QtScrcpy.exe
|
targetName: QtScrcpy.exe
|
||||||
# 步骤
|
# 步骤
|
||||||
|
@ -76,14 +76,14 @@ jobs:
|
||||||
env:
|
env:
|
||||||
vc_arch: ${{ matrix.msvc_arch }}
|
vc_arch: ${{ matrix.msvc_arch }}
|
||||||
run: |
|
run: |
|
||||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %vc_arch%
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %vc_arch%
|
||||||
qmake
|
qmake
|
||||||
nmake
|
nmake
|
||||||
# tag 打包
|
# tag 打包
|
||||||
- name: package
|
- name: package
|
||||||
if: startsWith(github.event.ref, 'refs/tags/')
|
if: startsWith(github.event.ref, 'refs/tags/')
|
||||||
env:
|
env:
|
||||||
VCINSTALLDIR: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC'
|
VCINSTALLDIR: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC'
|
||||||
archiveName: ${{ matrix.qt_ver }}-${{ matrix.qt_target }}-${{ matrix.qt_arch }}
|
archiveName: ${{ matrix.qt_ver }}-${{ matrix.qt_target }}-${{ matrix.qt_arch }}
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue