Skip to content

Commit da086dd

Browse files
committed
修改编译脚本
1 parent 939091d commit da086dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ jobs:
2323
mkdir build
2424
cd build
2525
cmake .. ${{ matrix.cmake_arch }} -G "Visual Studio 17 2022"
26-
cmake --build . --config Release
27-
cmake --install . --config Release --prefix ${{ github.workspace }}/artifact/
26+
cmake --build . --config RelWithDebInfo
27+
cmake --install . --config RelWithDebInfo --prefix ${{ github.workspace }}/artifact/
2828
- name: Build-linux
2929
if: startsWith(matrix.os, 'ubuntu')
3030
run: |
3131
mkdir build
3232
cd build
3333
cmake ..
34-
cmake --build . --config Release
35-
cmake --install . --config Release --prefix ${{ github.workspace }}/artifact/
34+
cmake --build . --config RelWithDebInfo
35+
cmake --install . --config RelWithDebInfo --prefix ${{ github.workspace }}/artifact/
3636
- name: Build-macosx
3737
if: startsWith(matrix.os, 'macos')
3838
run: |

0 commit comments

Comments
 (0)