File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 2222 - x64
2323 - Win32
2424 build_type :
25- - Release
25+ - RelWithDebInfo
2626 - Debug
2727 compiler :
2828 - msvc
@@ -45,16 +45,18 @@ jobs:
4545 cmake -S . -B ./build -G "${{matrix.generator}}" -A "${{matrix.arch}}" -DCMAKE_BUILD_TYPE:STRING=${{matrix.build_type}}
4646
4747 - name : Build
48- # Execute the build. You can specify a specific target with "--target <NAME>"
4948 run : |
50- cmake --build ./build --config ${{matrix.build_type}}
49+ cmake --build ./build --target DSpellCheck -- config ${{matrix.build_type}}
5150
5251 - name : Test
5352 run : |
5453 ctest --build-and-test . ./build --build-generator "${{matrix.generator}}"
5554
56- - name : CPack
57- if : matrix.build_type == 'Release'
58- working-directory : ./build
59- run : |
60- cpack -C ${{matrix.build_type}} -G ${{matrix.package_generator}}
55+ - name : Upload Artifacts
56+ if : matrix.build_type == 'RelWithDebInfo'
57+ uses : actions/upload-artifact@v4
58+ with :
59+ name : DSpellCheck-${{matrix.arch}}
60+ path : |
61+ ./build/${{matrix.build_type}}/DSpellCheck.dll
62+ ./build/${{matrix.build_type}}/DSpellCheck.pdb
Original file line number Diff line number Diff line change @@ -87,5 +87,6 @@ pvs_studio_add_target(TARGET DSpellCheck.analyze ALL
8787endif ()
8888
8989set_property (TARGET DSpellCheck DSpellCheckStatic DSpellCheckTest PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" )
90+ install (FILES $<TARGET_PDB_FILE:DSpellCheck> DESTINATION bin OPTIONAL )
9091target_precompile_headers (DSpellCheckStatic PRIVATE "src/common/PrecompiledHeader.h" )
9192target_precompile_headers (DSpellCheckTest REUSE_FROM DSpellCheckStatic)
You can’t perform that action at this time.
0 commit comments