Skip to content

Commit 479ffd1

Browse files
committed
ci: verify ASAN presence/absence as appropriate
1 parent c5199c2 commit 479ffd1

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.github/workflows/libssl.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,20 @@ jobs:
4141

4242
- run: make PROFILE=debug test
4343
- run: make PROFILE=debug integration
44+
# Note: we only check the client/server binaries here, assuming that
45+
# is sufficient for any other test binaries.
46+
- name: Verify debug builds were using ASAN
47+
run: |
48+
nm target/client | grep '__asan_init'
49+
nm target/server | grep '__asan_init'
50+
- name: Build release binaries
51+
run: |
52+
make clean
53+
make PROFILE=release
54+
- name: Verify release builds were not using ASAN
55+
run: |
56+
nm target/client | grep -v '__asan_init'
57+
nm target/server | grep -v '__asan_init'
4458
4559
valgrind:
4660
name: Valgrind

rustls-libssl/simpleserv.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)