Skip to content

Commit

Permalink
Add gcc-analyzer to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ojab committed Jul 10, 2023
1 parent 3e3bf1c commit 7b2d2ca
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,16 @@ jobs:
bundler-cache: true
- name: Run Ruby tests with valgrind
run: bundle exec rake test:valgrind

gcc-analyzer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: head
bundler-cache: true
- name: Run build with gcc-analyzer enabled
run: |
CFLAGS='-fanalyzer' bundle exec rake compile

0 comments on commit 7b2d2ca

Please sign in to comment.