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 2121
2222 - name : ⚙️ Install Ninja build system
2323 run : choco install ninja --no-progress
24- shell : powershell
2524
2625 - name : 📥 Install Qt for MSVC
2726 uses : jurplel/install-qt-action@v3
@@ -33,26 +32,26 @@ jobs:
3332 dir : ${{ env.QT_DIR }}
3433 setup-python : false
3534
35+ - name : 🏗️ Setup MSVC Developer Environment
36+ uses : ilammy/setup-msvc-dev@v1
37+ with :
38+ arch : x64
39+
3640 - name : 🛠️ Configure CMake with Ninja + MSVC
37- shell : cmd
3841 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" `
4345 -DCMAKE_BUILD_TYPE=Release
46+ shell : powershell
4447
4548 - 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
5051
5152 - 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
5655
5756 build_windows_mingw :
5857 name : Build with MinGW and CMake
You can’t perform that action at this time.
0 commit comments