Skip to content

core/conf: Add support for configurable maximum log & datasource message lengths #307

core/conf: Add support for configurable maximum log & datasource message lengths

core/conf: Add support for configurable maximum log & datasource message lengths #307

name: Code QA - Valgrind
on:
workflow_dispatch:
push:
branches:
- master
tags:
- '*'
paths-ignore:
- '.github/**'
- '.gitignore'
- 'ChangeLog'
- 'COPYING'
- 'configure.scan'
- 'packaging/**'
- 'dev-tools/**'
- '!dev-tools/libexec/get-release-*.sh'
- 'doc/**'
- 'etc/**'
- 'install/**'
- 'lib/*/IMPORT.defs'
- 'lib/*/LICENSE'
- 'README.md'
pull_request:
branches:
- master
paths-ignore:
- '.github/**'
- '.gitignore'
- 'ChangeLog'
- 'COPYING'
- 'configure.scan'
- 'packaging/**'
- 'dev-tools/**'
- '!dev-tools/libexec/get-release-*.sh'
- 'doc/**'
- 'etc/**'
- 'install/**'
- 'lib/*/IMPORT.defs'
- 'lib/*/LICENSE'
- 'README.md'
jobs:
code-qa-valgrind:
name: Check for memory and fd leaks
runs-on: ubuntu-20.04
container: ciready/ubuntu:20.04-ci-c
steps:
### Fetch the code
#
- uses: actions/checkout@v2
with:
fetch-depth: 0
# Work around the fix for CVE-2022-24765
- run: git config --global --add safe.directory $GITHUB_WORKSPACE || true
### Install build environment tools + valgrind
#
- run: ./dev-tools/install-dev-software.sh
- run: DEBIAN_FRONTEND=noninteractive apt-get install -y valgrind
### Build
#
- run: ./bootstrap.sh
- run: ./configure --enable-option-checking=fatal --enable-everything
- run: make
### Run the valgrind verification
#
- run: make valgrind