Skip to content

Commit

Permalink
WIP: Try to run tests in CI with asan ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Aug 21, 2024
1 parent aabfe6c commit 5049fd2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test-memory-leaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,14 @@ jobs:
cache-version: v1 # bump this to invalidate cache
- run: sudo apt install -y valgrind && valgrind --version
- run: bundle exec rake compile spec:profiling:memcheck
test-asan:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: datadog/setup-ruby@26e5421027a4305e79a33960f2c050a7af9cbbcc
with:
ruby-version: asan
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
bundler: latest
cache-version: v1 # bump this to invalidate cache
- run: bundle exec rake compile spec:profiling:all

0 comments on commit 5049fd2

Please sign in to comment.