Skip to content

Commit 06362ad

Browse files
committed
Clean build for windows
-Set --target clean to make clean build -Disable manual and wizard generation
1 parent b438633 commit 06362ad

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/build_cmake.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
os: windows-latest,
3131
build_type: "Release", cc: "cl", cxx: "cl",
3232
build_gen: "NMake Makefiles",
33-
cmake_extra_opts: "-Dbuild_wizard=YES"
3433
}
3534
steps:
3635
- name: Checkout doxygen
@@ -134,12 +133,6 @@ jobs:
134133
refreshenv
135134
if: matrix.config.os == 'windows-latest'
136135

137-
- name: Install Qt 5
138-
uses: jurplel/install-qt-action@v4
139-
with:
140-
version: 5.*
141-
if: matrix.config.is != 'windows-latest'
142-
143136
- name: Check tool versions (Linux / MacOS)
144137
shell: bash
145138
run: |
@@ -202,7 +195,6 @@ jobs:
202195
-B build
203196
-D CMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
204197
-G "${{ matrix.config.build_gen }}"
205-
-Dbuild_doc=YES
206198
${{ matrix.config.cmake_extra_opts }}
207199
RESULT_VARIABLE result
208200
)
@@ -216,7 +208,7 @@ jobs:
216208
include(ProcessorCount)
217209
ProcessorCount(N)
218210
execute_process(
219-
COMMAND cmake --build build --parallel ${N}
211+
COMMAND cmake --build build --parallel ${N} --target clean
220212
RESULT_VARIABLE result
221213
OUTPUT_VARIABLE output
222214
ERROR_VARIABLE output

0 commit comments

Comments
 (0)