Added memcheck to CI #266
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- ruby: 3.3 | |
os: ubuntu-24.04 | |
# - ruby: 3.2 | |
# os: ubuntu-22.04 | |
# - ruby: 3.1 | |
# os: ubuntu-20.04 | |
# - ruby: 3.2 | |
# os: macos-14 | |
# - ruby: 3.1 | |
# os: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: bundle exec rake compile | |
- run: bundle exec rake test | |
- if: ${{ startsWith(matrix.os, 'ubuntu') }} | |
run: | | |
sudo apt-get update && sudo apt-get install valgrind | |
bundle exec rake test:valgrind |