Skip to content

ci: enable valgrind for build #2236

ci: enable valgrind for build

ci: enable valgrind for build #2236

Workflow file for this run

name: Alpine (musl)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container: alpine
env:
CMAKE_GENERATOR: Ninja
steps:
- uses: actions/checkout@v4
- name: install devel tools
run: |
apk add musl-dev git cmake gcc g++ valgrind binutils openssl-dev linux-headers zlib-dev ninja
- name: make
run: |
cmake -B build -DCMAKE_C_FLAGS="-Werror"
cmake --build build -j -t retest
valgrind --leak-check=full --show-reachable=yes --error-exitcode=42 ./build/test/retest -r -v