Skip to content

Commit

Permalink
Building valgrind is crazy
Browse files Browse the repository at this point in the history
  • Loading branch information
tsadpbb committed Sep 10, 2024
1 parent 01611eb commit 7cde1d4
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
compiler: [gcc, clang]
runs-on: ${{ matrix.os }}
env:
CC: ${{ matrix.compiler }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
# https://github.com/actions/runner-images/issues/2139
run: |
sudo apt update
sudo apt remove libgd3 nginx
sudo apt install libgd-dev gcovr lcov gperf
# https://github.com/llvm/llvm-project/issues/56550
- name: Install Valgrind
run: |
wget https://sourceware.org/pub/valgrind/valgrind-3.23.0.tar.bz2
tar xf valgrind-3.23.0.tar.bz2
cd valgrind-3.23.0
./configure
make
make install
sudo apt install libgd-dev valgrind gcovr lcov gperf
- name: configure
run: ./configure --enable-testing
- name: Run Tests
Expand Down

0 comments on commit 7cde1d4

Please sign in to comment.