summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2021-12-03 10:58:38 (GMT)
committerJohannes Schindelin <johannes.schindelin@gmx.de>2021-12-03 11:05:23 (GMT)
commit13a21e913a1bdeaba5eeba4c66f7ae08e0596a1a (patch)
treedffc6e6b6aff4ae45c7fdcf8e4dd1f66fc57d587
parent35c615b756322f7755a5fbe1846129be8b9fa936 (diff)
downloadcv2pdb-13a21e913a1bdeaba5eeba4c66f7ae08e0596a1a.zip
cv2pdb-13a21e913a1bdeaba5eeba4c66f7ae08e0596a1a.tar.gz
cv2pdb-13a21e913a1bdeaba5eeba4c66f7ae08e0596a1a.tar.bz2
ci: verify DWARF5 symbols
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 <johannes.schindelin@gmx.de>
-rw-r--r--.github/workflows/build-and-test.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index 9cfcbcc..2372a71 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -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