Skip to content

Add qt actions

Add qt actions #2

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]
# 额外设置msvc_arch
include:
- msvc_arch: x64
# - qt_arch: win64_msvc2017_64
# msvc_arch: x64
qt_modules: [qtwebengine]
qt_host: "windows"

Check failure on line 28 in .github/workflows/qt-windows.yml

View workflow run for this annotation

GitHub Actions / Windows

Invalid workflow file

The workflow is not valid. .github/workflows/qt-windows.yml (Line: 28, Col: 18): Unexpected value 'windows'
steps:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt_ver }}
target: ${{ matrix.qt_target }}
# arch: ${{ matrix.qt_arch }}
host: ${{ matrix.qt_host }}
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