-
Notifications
You must be signed in to change notification settings - Fork 1
65 lines (54 loc) · 1.5 KB
/
ci.yml
File metadata and controls
65 lines (54 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test-callgrind:
strategy:
matrix:
runner:
- platform: ubuntu-22.04
ubuntu-version: 22.04
- platform: ubuntu-24.04
ubuntu-version: 24.04
runs-on: ${{ matrix.runner.platform }}
steps:
- uses: actions/checkout@v4
- name: Update apt-get cache
run: sudo apt-get update
- name: Install build dependencies
run: |
sudo apt-get install -y \
build-essential \
automake \
autoconf \
libc6-dev \
gcc-multilib \
libc6-dev-i386 \
gdb \
docbook \
docbook-xsl \
docbook-xml \
xsltproc
- name: Configure
run: ./configure
- name: Build Valgrind
run: make -j$(nproc)
- name: Build test dependencies
run: |
make -C tests arch_test os_test true
make -C memcheck/tests bug445235_ada_demangle
- name: Run Callgrind tests
run: |
cd callgrind/tests
TESTS=$(ls *.vgtest | grep -v bug497723.vgtest)
perl ../../tests/vg_regtest --valgrind=../../vg-in-place $TESTS
- name: Upload test logs
if: failure()
uses: actions/upload-artifact@v4
with:
name: callgrind-test-logs-${{ matrix.runner.ubuntu-version }}
path: callgrind/tests/*.log