Skip to content

Commit

Permalink
Add ASAN job in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Oct 14, 2024
1 parent c2407a9 commit 27b8294
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,21 @@ jobs:
- name: Run Ruby tests with valgrind
run: bundle exec rake test:valgrind

asan:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: asan
bundler-cache: true
- name: Run Ruby tests with ASAN
run: bundle exec rake
env:
ASAN_OPTIONS: detect_leaks=1
RUBY_FREE_AT_EXIT: 1

gem-package:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 27b8294

Please sign in to comment.