Skip to content

Commit

Permalink
Speedup memcheck job
Browse files Browse the repository at this point in the history
* By using ubuntu-24.04 which has a recent enough valgrind: #3182 (comment)
  • Loading branch information
eregon authored Oct 17, 2024
1 parent fd899e8 commit 448f973
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,30 +204,9 @@ jobs:
run: bundle exec rake serialized_size:topgems

memcheck:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install libc6-dbg
run: |
sudo apt-get update
sudo apt-get install -y libc6-dbg
- name: Cache valgrind
uses: actions/cache@v4
id: cache-valgrind
with:
path: valgrind-3.23.0
key: ${{ runner.os }}-valgrind-3.23.0
- name: Download valgrind
if: steps.cache-valgrind.outputs.cache-hit != 'true'
run: |
wget https://sourceware.org/pub/valgrind/valgrind-3.23.0.tar.bz2
tar xf valgrind-3.23.0.tar.bz2
- name: Install valgrind
run: |
cd valgrind-3.23.0
./configure
make
sudo make install
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down

0 comments on commit 448f973

Please sign in to comment.