.github/workflows/test.yml in ruby_memcheck-1.2.0 vs .github/workflows/test.yml in ruby_memcheck-1.3.0

- old
+ new

@@ -2,21 +2,34 @@ on: [push, pull_request] jobs: test: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: entry: - { ruby: '2.7', allowed-failure: false } - { 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 + # - 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.20.0.tar.bz2 + tar xvf valgrind-3.20.0.tar.bz2 + cd valgrind-3.20.0 + ./configure + make + sudo make install - run: bundle install --jobs=3 --retry=3 - run: bundle exec rake continue-on-error: ${{ matrix.entry.allowed-failure }}