Skip to content

Add qt actions

Add qt actions #4

Workflow file for this run

name: Windows
on:
push:
paths-ignore:
- "README.md"
- "LICENSE"
pull_request:
paths-ignore:
- "README.md"
- "LICENSE"
jobs:
build:
name: Build
runs-on: windows-latest
strategy:
matrix:
qt_ver: [5.15.2, 6.5.3]
qt_target: [desktop]
# mingw用不了
# qt_arch: [win64_msvc2017_64, win32_msvc2017, win32_mingw53,win32_mingw73]
# qt_arch: [win64_msvc2019_64]
include:
- msvc_arch: x64
# - qt_arch: win64_msvc2017_64
# msvc_arch: x64
qt_modules: [qtwebengine]
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt_ver }}
target: ${{ matrix.qt_target }}
# arch: ${{ matrix.qt_arch }}
modules: ${{ matrix.qt_modules }}
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: build-msvc
shell: cmd
env:
vc_arch: ${{ matrix.msvc_arch }}
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" %vc_arch%
cmake
nmake