3 ms·
Oh, you have your CI store all the sources for all the builds, and you have NFS-like access to it? Yeah, OK, this case I can see how having absolute paths would
by Joker_vD 3y ago
Oh, you have your CI store all the sources for all the builds, and you have NFS-like access to it? Yeah, OK, this case I can see how having absolute paths would be useful.
In my case at work (and we actually use Linux), we sadly don't have that luxury: the CI is walled of and its disk is purged every midnight, so knowing what folder the project was built in is pointless since it doesn't even contains the commit hash, it has the CI's unique job number instead but even it is also useless since the CI for some reason stores info only about 3 days of build jobs so... yeah. We resort to baking in the git info as a recognizable string into the binary, and then checking out the sources manually.
P.S. IIRC, PDB's are matched to the EXE's by the EXE's checksum so generally if the PDB is checked in into a symbol server, then retrieving it back is simple, if you know what source server to query, of course.