Fixes PDB collection when short_path is used

This commit is contained in:
Dmitry Vedenko 2022-11-30 18:13:38 +03:00
parent 8f3ff67b02
commit 46b4e2b71c
No known key found for this signature in database
GPG Key ID: F4C37A6204F983A2
3 changed files with 11 additions and 4 deletions

2
dist/build/index.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -303,7 +303,10 @@ async function processDependenciesDebugInformation(buildDir, buildType, performU
return;
}
// Collect PDBs
const pdbs = await fileUtils.globFiles(path.join(conanCachePath, 'data/**/build/**/*.pdb'));
const pdbs = await fileUtils.globFiles([
path.join(conanCachePath, 'data/**/build/**/*.pdb'),
'C:/.conan/**/*.pdb'
]);
for(const pdb of pdbs) {
await addToSymStore(pdb);
@ -312,7 +315,11 @@ async function processDependenciesDebugInformation(buildDir, buildType, performU
if(pdbs.length > 0) {
await uploadSymStore();
const dlls = await fileUtils.globFiles(path.join(conanCachePath, 'data/**/build/**/*.dll'));
const dlls = await fileUtils.globFiles([
path.join(conanCachePath, 'data/**/build/**/*.dll'),
'C:/.conan/**/*.dll'
]);
await uploadAllToSentry([...pdbs, ...dlls])
}
} else if (process.platform == 'darwin') {