1616 benchmark :
1717 - testdata/take_strings-aarch64
1818 valgrind :
19- - /bin/valgrind
20- - ../vg-in-place
19+ - " 3.26.0"
20+ - " 3.25.0"
21+ - " 3.24.0"
22+ - " local"
2123 steps :
2224 - uses : actions/checkout@v4
2325 with :
3840 - name : Update apt-get cache
3941 run : sudo apt-get update
4042
41- # Install upstream Valgrind for comparison
42- - name : Install upstream Valgrind
43- run : |
44- # Macro runners already have valgrind pre-installed, so we have to remove it first
45- sudo apt-get remove -y valgrind || true
46-
47- # Install the actual upstream valgrind package
48- sudo apt-get install -y valgrind
49- which valgrind
50- which -a valgrind
51- /usr/bin/valgrind --version
52- /bin/valgrind --version
43+ # Remove any existing Valgrind installation to avoid conflicts
44+ - name : Remove existing Valgrind installation
45+ run : sudo apt-get remove -y valgrind || true
5346
5447 - name : Install build dependencies
5548 run : |
@@ -64,27 +57,12 @@ jobs:
6457 docbook-xml \
6558 xsltproc
6659
67- - name : Run autogen
68- run : ./autogen.sh
69-
70- - name : Configure
71- run : ./configure
72-
73- - name : Build Valgrind
74- run : |
75- make include/vgversion.h
76- make -j$(nproc) -C VEX
77- make -j$(nproc) -C coregrind
78- make -j$(nproc) -C callgrind
60+ - uses : extractions/setup-just@v3
61+ - name : Build Valgrind (${{ matrix.valgrind }})
62+ run : just build ${{ matrix.valgrind }}
7963
8064 - name : Verify Valgrind build
81- run : |
82- # Verify that vg-in-place script exists
83- test -f ./vg-in-place || { echo "vg-in-place not found!"; exit 1; }
84- # Test valgrind works with vg-in-place
85- ./vg-in-place --version
86- ./vg-in-place --tool=callgrind --help > /dev/null || { echo "callgrind tool not accessible!"; exit 1; }
87- echo "Valgrind build successful and callgrind tool is accessible"
65+ run : /usr/local/bin/valgrind --version
8866
8967 # Setup benchmarks and run them
9068 - name : Install uv
10078 cache-instruments : false
10179 working-directory : bench
10280 mode : walltime
103- run : uv run bench.py --binary-path ${{ matrix.benchmark }} --valgrind-path ${{ matrix. valgrind }}
81+ run : uv run bench.py --binary-path ${{ matrix.benchmark }} --valgrind-path /usr/local/bin/ valgrind
0 commit comments