5959 cc : clang
6060 cxx : clang++
6161 developer-dir : /Applications/Xcode_16.4.app/Contents/Developer
62+
63+ - os : windows-2025
64+ cc : cl.exe
65+ cxx : cl.exe
66+ unity : OFF
67+
6268 exclude :
6369 - environment : { unity: OFF }
6470 cmake-build-type : Release
@@ -118,15 +124,33 @@ jobs:
118124 brew install ninja qt@6
119125 pip3 install tornado --break-system-packages
120126
127+ - name : Install Qt
128+ if : ${{ runner.os == 'Windows' }}
129+ uses : jurplel/install-qt-action@v4
130+
121131 - name : Configure repository
132+ if : ${{ runner.os != 'Windows' }}
133+ shell : bash
122134 run : ./configure.sh
123135
136+ - uses : ilammy/msvc-dev-cmd@v1
137+ if : ${{ runner.os == 'Windows' }}
138+
139+ - name : Bootstrap boost
140+ if : ${{ runner.os == 'Windows' }}
141+ shell : cmd
142+ run : .\bootstrap.bat
143+ working-directory : ./3party/boost
144+ run : .\b2.exe headers
145+ working-directory : ./3party/boost
146+
124147 - name : Configure ccache
125148 uses :
hendrikmuhs/[email protected] 126149 with :
127150 key : ${{ github.workflow }}-${{ matrix.environment.os }}-${{ matrix.environment.cc }}-${{ matrix.environment.unity }}-${{ matrix.cmake-build-type }}
128151
129152 - name : Configure cmake
153+ shell : bash
130154 env :
131155 CC : ${{ matrix.environment.cc }}
132156 CXX : ${{ matrix.environment.cxx }}
@@ -136,13 +160,12 @@ jobs:
136160 run : |
137161 cmake . -B ${{ env.BUILD_DIR }} -G Ninja \
138162 -DCMAKE_BUILD_TYPE=${{ matrix.cmake-build-type }} \
139- -DCMAKE_C_FLAGS=-g1 \
140- -DCMAKE_CXX_FLAGS=-g1 \
141163 -DCMAKE_UNITY_BUILD=${UNITY_BUILD}
142164
143165 - name : Compile
166+ shell : bash
144167 working-directory : ${{ env.BUILD_DIR }}
145- run : ninja
168+ run : cmake --build .
146169
147170 - name : Prepare testing environment (Linux)
148171 if : ${{ runner.os == 'Linux' }}
0 commit comments