Sha256: 32fcfdb4759a0b2e0eef886f4ac1c03fcdf24e81bf66c8e936298af47ec22e48

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

name: Test
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        entry:
          - { ruby: '3.0', allowed-failure: false }
          - { ruby: '3.1', allowed-failure: false }
          - { ruby: '3.2', allowed-failure: false }
          - { ruby: ruby-head, allowed-failure: false }
    name: ruby ${{ matrix.entry.ruby }}
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.entry.ruby }}
      # - run: sudo apt-get install -y valgrind
      # We cannot use Valgrind from apt because we need at least Valgrind 3.20.0
      # to support DWARF 5
      - run: sudo apt-get install -y libc6-dbg
      - name: Install Valgrind from source
        run: |
          wget https://sourceware.org/pub/valgrind/valgrind-3.21.0.tar.bz2
          tar xvf valgrind-3.21.0.tar.bz2
          cd valgrind-3.21.0
          ./configure
          make
          sudo make install
      - run: bundle install --jobs=3 --retry=3
      - run: bundle exec rake
        continue-on-error: ${{ matrix.entry.allowed-failure }}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_memcheck-2.1.2 .github/workflows/test.yml
ruby_memcheck-2.1.1 .github/workflows/test.yml
ruby_memcheck-2.1.0 .github/workflows/test.yml
ruby_memcheck-2.0.1 .github/workflows/test.yml