-
Notifications
You must be signed in to change notification settings - Fork 2
130 lines (94 loc) · 4.85 KB
/
valgrind.yml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
name: valgrind
on:
push:
branches: [ 0.15.4 ]
pull_request:
branches: [ 0.15.4 ]
jobs:
valgrind:
runs-on: ubuntu-latest
container: ubuntu:22.04
env:
VALGRIND: valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --error-exitcode=1
steps:
- uses: actions/checkout@main
- run: apt -y update
- run: apt -y install valgrind cmake ninja-build pkg-config g++ linux-headers-generic curl zip unzip tar git
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: microsoft/vcpkg
path: vcpkg
- run: cd vcpkg && ./bootstrap-vcpkg.sh
- run: cd vcpkg && ./vcpkg install curl openssl libgit2 libarchive libyaml jansson zlib
- run: |
cmake \
-S . \
-B build.d \
-G Ninja \
-DCMAKE_TOOLCHAIN_FILE=$PWD/vcpkg/scripts/buildsystems/vcpkg.cmake \
-DCMAKE_INSTALL_PREFIX=./output \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=Debug
- run: cmake --build build.d
- run: cmake --install build.d
- run: $VALGRIND ./output/bin/uppm
- run: $VALGRIND ./output/bin/uppm --help
- run: $VALGRIND ./output/bin/uppm --version
- run: $VALGRIND ./output/bin/uppm -h
- run: $VALGRIND ./output/bin/uppm -V
- run: $VALGRIND ./output/bin/uppm about
- run: $VALGRIND ./output/bin/uppm about -v
- run: $VALGRIND ./output/bin/uppm integrate zsh
- run: ./output/bin/uppm update
- run: $VALGRIND ./output/bin/uppm ls-available
- run: $VALGRIND ./output/bin/uppm ls-installed
- run: $VALGRIND ./output/bin/uppm ls-outdated
- run: $VALGRIND ./output/bin/uppm search and
- run: $VALGRIND ./output/bin/uppm info-available tree
- run: $VALGRIND ./output/bin/uppm info-available tree --json
- run: $VALGRIND ./output/bin/uppm info-available tree --yaml
- run: $VALGRIND ./output/bin/uppm info-available tree summary
- run: $VALGRIND ./output/bin/uppm info-available tree version
- run: $VALGRIND ./output/bin/uppm info-available tree license
- run: $VALGRIND ./output/bin/uppm info-available tree webpage
- run: $VALGRIND ./output/bin/uppm info-available tree bin-url
- run: $VALGRIND ./output/bin/uppm info-available tree bin-sha
- run: $VALGRIND ./output/bin/uppm info-available tree dep-pkg
- run: $VALGRIND ./output/bin/uppm info-available tree unpackd
- run: $VALGRIND ./output/bin/uppm info-available tree install
- run: $VALGRIND ./output/bin/uppm info-available tree formula
- run: $VALGRIND ./output/bin/uppm depends tree
- run: $VALGRIND ./output/bin/uppm depends android-sdk
- run: $VALGRIND ./output/bin/uppm depends android-sdk -t box
- run: $VALGRIND ./output/bin/uppm depends android-sdk -t box
- run: $VALGRIND ./output/bin/uppm fetch gzip
- run: $VALGRIND ./output/bin/uppm fetch gsed -v
- run: $VALGRIND ./output/bin/uppm install tree
- run: $VALGRIND ./output/bin/uppm info-installed tree --prefix
- run: $VALGRIND ./output/bin/uppm info-installed tree --files
- run: $VALGRIND ./output/bin/uppm info-installed tree --yaml
- run: $VALGRIND ./output/bin/uppm info-installed tree --json
- run: $VALGRIND ./output/bin/uppm info-installed tree timestamp-iso-8601
- run: $VALGRIND ./output/bin/uppm info-installed tree timestamp-rfc-3339
- run: $VALGRIND ./output/bin/uppm info-installed tree installed-timestamp-unix
- run: $VALGRIND ./output/bin/uppm info-installed tree version
- run: |
sed -i '/^version: /c version: 2.0.3' $(./output/bin/uppm info-available tree formula)
- run: $VALGRIND ./output/bin/uppm ls-available
- run: $VALGRIND ./output/bin/uppm ls-installed
- run: $VALGRIND ./output/bin/uppm ls-outdated
- run: $VALGRIND ./output/bin/uppm is-available tree
- run: $VALGRIND ./output/bin/uppm is-installed tree
- run: $VALGRIND ./output/bin/uppm is-outdated tree || echo not outdated
- run: $VALGRIND ./output/bin/uppm tree tree
- run: $VALGRIND ./output/bin/uppm tree tree -L 2
- run: $VALGRIND ./output/bin/uppm upgrade tree
- run: $VALGRIND ./output/bin/uppm reinstall tree
- run: $VALGRIND ./output/bin/uppm uninstall tree
- run: $VALGRIND ./output/bin/uppm formula-repo-list
- run: $VALGRIND ./output/bin/uppm formula-repo-add my_repo https://github.com/leleliu008/uppm-formula-repository-linux-x86_64
- run: $VALGRIND ./output/bin/uppm formula-repo-list
- run: $VALGRIND ./output/bin/uppm formula-repo-del my_repo
- run: $VALGRIND ./output/bin/uppm cleanup
- run: $VALGRIND ./output/bin/uppm upgrade-self