File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 54
54
shell : powershell
55
55
56
56
build_windows_mingw :
57
- name : Build with MinGW and CMake
57
+ name : Build with MinGW and CMake (no Ninja)
58
58
runs-on : windows-2022
59
59
60
60
env :
67
67
with :
68
68
fetch-depth : 0
69
69
70
- - name : ⚙️ Install Ninja and MinGW toolchain
71
- run : |
72
- choco install ninja --no-progress
73
- choco install mingw --no-progress
70
+ - name : ⚙️ Install MinGW toolchain
71
+ run : choco install mingw --no-progress
74
72
shell : powershell
75
73
76
74
- name : ➕ Add MinGW to system PATH
84
82
version : ${{ env.QT_VERSION }}
85
83
target : desktop
86
84
host : windows
87
- arch : win64_mingw81
85
+ arch : win64_mingw
88
86
dir : ${{ env.QT_DIR }}
89
87
setup-python : false
90
88
@@ -95,12 +93,12 @@ jobs:
95
93
-DCMAKE_PREFIX_PATH="${{ env.QT_DIR }}\Qt\${{ env.QT_VERSION }}\mingw_64" `
96
94
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}\install `
97
95
-DCMAKE_BUILD_TYPE=Release `
98
- -G Ninja
96
+ -G "MinGW Makefiles"
99
97
100
98
- name : 🔨 Build with CMake (MinGW)
101
99
shell : powershell
102
- run : cmake --build build-mingw
100
+ run : cmake --build build-mingw -- -j2
103
101
104
102
- name : 📦 Install built files (MinGW)
105
103
shell : powershell
106
- run : cmake --install build-mingw
104
+ run : cmake --install build-mingw
You can’t perform that action at this time.
0 commit comments