Skip to content

Commit

Permalink
Merge pull request #4229 from DataDog/ivoanjo/prof-11305-asan-try3
Browse files Browse the repository at this point in the history
[PROF-11305] Enable memory leak testing with ASAN, try 3
  • Loading branch information
ivoanjo authored Dec 17, 2024
2 parents 9928a51 + 4fe11cf commit 28d1ef8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test-memory-leaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ jobs:
- run: gem update --system 3.5.23 # TODO: This is a workaround for a buggy rubygems in 3.4.0-preview2; remove once stable version 3.4 is out
- run: bundle exec rake compile spec:profiling:memcheck
test-asan:
# Temporarily ruby-asan builds changes
# from: `ruby 3.4.0dev (2024-11-07T14:35:19Z :detached: fca07d73e3) +PRISM [x86_64-linux]`
# To: `ruby 3.4.0dev (2024-11-11T18:38:40Z :detached: 8672e88cd2) +PRISM [x86_64-linux]`
if: false
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
Expand All @@ -27,5 +23,5 @@ jobs:
ruby-version: asan
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
bundler: latest
cache-version: v1 # bump this to invalidate cache
cache-version: v2 # bump this to invalidate cache
- run: env RUBY_FREE_AT_EXIT=1 LSAN_OPTIONS=verbosity=0:log_threads=1:suppressions=`pwd`/suppressions/lsan.supp ASAN_OPTIONS=detect_leaks=1 bundle exec rake spec:profiling:main

0 comments on commit 28d1ef8

Please sign in to comment.