Skip to content

Commit

Permalink
ci: verify DWARF5 symbols
Browse files Browse the repository at this point in the history
Technically, this does not validate the DWARF5 parsing completely, but
it looks for the `main` symbol to show up as expected when compiling
with whatever GCC version MSYS2/Git for Windows uses (which is typically
very close to the latest GCC version available).

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Dec 3, 2021
1 parent 35c615b commit 13a21e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,9 @@ jobs:
gcc -g -o hello.exe hello.c &&
bin/${{env.BUILD_CONFIGURATION}}*/cv2pdb.exe hello.exe world.exe &&
ls -l hello* world*
ls -l hello* world* &&
curl -Lo cvdump.exe https://raw.githubusercontent.com/microsoft/microsoft-pdb/HEAD/cvdump/cvdump.exe &&
./cvdump.exe world.pdb >world.cvdump &&
grep '^S_PUB32: .*, Flags: 00000000, main$' world.cvdump

0 comments on commit 13a21e9

Please sign in to comment.