Repository navigation
Ensure release package includes Windows SampSharp.pdb artifact - #571
Conversation
Agent-Logs-Url: https://github.com/ikkentim/SampSharp/sessions/ce964d33-a4d1-4147-b109-f8d28680f9a0 Co-authored-by: ikkentim <[email protected]>
| set_target_properties(SampSharp PROPERTIES OUTPUT_NAME "SampSharp" PREFIX "") | ||
| set_property(TARGET SampSharp PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>") | ||
|
|
||
| if(MSVC) |
There was a problem hiding this comment.
@copilot, as i understand it, our windows build script runs clang not msvc
There was a problem hiding this comment.
Updated to apply the PDB output directory settings on WIN32 instead of MSVC, so the Windows ClangCL build path is covered as well. Addressed in commit fe3f9d5.
Agent-Logs-Url: https://github.com/ikkentim/SampSharp/sessions/2341b484-b351-444f-927d-545a74f0a140 Co-authored-by: ikkentim <[email protected]>
|
@copilot this is wrong approach. cmake produces pdb correctly, in CI workflow it gets included, but in release workflow the pdb is not copied to the release package |
Agent-Logs-Url: https://github.com/ikkentim/SampSharp/sessions/d0b3f4a3-f0ee-4ed9-8f6d-aeae3afb3eb4 Co-authored-by: ikkentim <[email protected]>
Adjusted in |
open.mp components already produce PDBs correctly during Windows builds, and CI artifacts include them. The missing piece was release packaging:
SampSharp.pdbwas not copied into the final release ZIP.This change fixes the release workflow to include the Windows PDB in the packaged artifacts.
Release packaging fix (GitHub Actions)
.github/workflows/release.ymlto copycomponent-windows/SampSharp.pdbintoSampSharp-${VERSION}/components/during package creation.Scope correction
src/sampsharp-component/CMakeLists.txt.