Skip to content

Commit 716d6f7

Browse files
Updated run command in yaml for MSVC
1 parent ceb7c91 commit 716d6f7

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/windows-cmake.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: windows-builds
33
# Trigger this workflow on any push or manual dispatch
44
on:
55
push:
6+
branches:
7+
- ci-dev
68
workflow_dispatch:
79

810
jobs:
@@ -38,12 +40,12 @@ jobs:
3840
# Use windows-msvc shell that auto-sets MSVC environment variables
3941
shell: windows-msvc
4042
run: |
41-
cmake -S . -B build `
42-
-G Ninja ` # Use Ninja generator
43-
-A x64 ` # Target 64-bit architecture
44-
-DCMAKE_PREFIX_PATH="${{ env.QT_DIR }}\Qt\${{ env.QT_VERSION }}\msvc2019_64" ` # Qt install path for CMake
45-
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}\install" ` # Install path
46-
-DCMAKE_BUILD_TYPE=Release # Release build type
43+
cmake -S . -B build ^
44+
-G Ninja ^
45+
-A x64 ^
46+
-DCMAKE_PREFIX_PATH="${{ env.QT_DIR }}\Qt\${{ env.QT_VERSION }}\msvc2019_64" ^
47+
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}\install" ^
48+
-DCMAKE_BUILD_TYPE=Release
4749
4850
- name: 🔨 Build with Ninja + MSVC
4951
shell: windows-msvc

0 commit comments

Comments
 (0)