Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c3ee904

Browse files
committed
Update win_cmake_build.yml
1 parent 987c119 commit c3ee904

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/win_cmake_build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -162,59 +162,59 @@ jobs:
162162
# Linux has 2 cores
163163
run: |
164164
cmake --build --list-presets
165-
cmake --build --preset=${{env.BUILD_CLANG_PRESET}} --parallel 2
165+
cmake --build --preset=${{env.BUILD_CLANG_PRESET}} --parallel 2 --config Release
166166
167167
- name: Install
168168
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_CLANG_DEV_ALL}}
169169
run: |
170-
cmake --install .
170+
cmake --install . --config Release
171171
172172
- name: AfterInstall Example
173173
working-directory: ${{github.workspace}}/example/gcc/AfterInstall
174174
run: |
175175
$env:Path += ";C:/Program Files (x86)/BuildCC"
176176
cmake -B build
177-
cmake --build build --parallel 2
178-
cd build/Debug
177+
cmake --build build --parallel 2 --config Release
178+
cd build/Release
179179
ls
180180
.\build.exe
181181
182182
- name: Hybrid Simple Example
183183
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_CLANG_DEV_ALL}}
184184
run: |
185-
cmake --build . --target run_hybrid_simple_example_win
185+
cmake --build . --target run_hybrid_simple_example_win --config Release
186186
187187
- name: Hybrid Foolib Example
188188
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_CLANG_DEV_ALL}}
189189
run: |
190-
cmake --build . --target run_hybrid_foolib_example_win
190+
cmake --build . --target run_hybrid_foolib_example_win --config Release
191191
192192
- name: Hybrid External Lib Example
193193
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_CLANG_DEV_ALL}}
194194
run: |
195-
cmake --build . --target run_hybrid_externallib_example_win
195+
cmake --build . --target run_hybrid_externallib_example_win --config Release
196196
197197
- name: Hybrid Custom Target Example
198198
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_CLANG_DEV_ALL}}
199199
run: |
200-
cmake --build . --target run_hybrid_customtarget_example_win
200+
cmake --build . --target run_hybrid_customtarget_example_win --config Release
201201
202202
- name: Hybrid Generic Target Example
203203
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_CLANG_DEV_ALL}}
204204
run: |
205-
cmake --build . --target run_hybrid_generic_example
205+
cmake --build . --target run_hybrid_generic_example --config Release
206206
207207
- name: Hybrid PCH Target Example
208208
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_CLANG_DEV_ALL}}
209209
run: |
210-
cmake --build . --target run_hybrid_pch_example_win
210+
cmake --build . --target run_hybrid_pch_example_win --config Release
211211
212212
- name: Hybrid Dep Chaining Target Example
213213
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_CLANG_DEV_ALL}}
214214
run: |
215-
cmake --build . --target run_hybrid_depchaining_example_win
215+
cmake --build . --target run_hybrid_depchaining_example_win --config Release
216216
217217
- name: Hybrid Target Info Example
218218
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_CLANG_DEV_ALL}}
219219
run: |
220-
cmake --build . --target run_hybrid_targetinfo_example_win
220+
cmake --build . --target run_hybrid_targetinfo_example_win --config Release

0 commit comments

Comments
 (0)