Skip to content

optimized

optimized #274

Workflow file for this run

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 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