File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change 21
21
22
22
- name : ⚙️ Install Ninja build system
23
23
run : choco install ninja --no-progress
24
- shell : powershell
25
24
26
25
- name : 📥 Install Qt for MSVC
27
26
uses : jurplel/install-qt-action@v3
@@ -33,26 +32,26 @@ jobs:
33
32
dir : ${{ env.QT_DIR }}
34
33
setup-python : false
35
34
35
+ - name : 🏗️ Setup MSVC Developer Environment
36
+ uses : ilammy/setup-msvc-dev@v1
37
+ with :
38
+ arch : x64
39
+
36
40
- name : 🛠️ Configure CMake with Ninja + MSVC
37
- shell : cmd
38
41
run : |
39
- "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64 && ^
40
- cmake -S . -B build -G Ninja -A x64 ^
41
- -DCMAKE_PREFIX_PATH="${{ env.QT_DIR }}\Qt\${{ env.QT_VERSION }}\msvc2019_64" ^
42
- -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}\install" ^
42
+ cmake -S . -B build -G Ninja -A x64 `
43
+ -DCMAKE_PREFIX_PATH="${{ env.QT_DIR }}\Qt\${{ env.QT_VERSION }}\msvc2019_64" `
44
+ -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}\install" `
43
45
-DCMAKE_BUILD_TYPE=Release
46
+ shell : powershell
44
47
45
48
- name : 🔨 Build with Ninja + MSVC
46
- shell : cmd
47
- run : |
48
- "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64 && ^
49
- cmake --build build
49
+ run : cmake --build build
50
+ shell : powershell
50
51
51
52
- name : 📦 Install built files
52
- shell : cmd
53
- run : |
54
- "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64 && ^
55
- cmake --install build
53
+ run : cmake --install build
54
+ shell : powershell
56
55
57
56
build_windows_mingw :
58
57
name : Build with MinGW and CMake
You can’t perform that action at this time.
0 commit comments