Skip to content

Valgrind

Valgrind #839

Workflow file for this run

name: Valgrind
'on':
workflow_dispatch:
inputs:
extra_resolve_options:
description: Extra Resolve Options
required: false
schedule:
- cron: 0 1 * * *
push:
branches:
- master
pull_request:
env:
EXTRA_RESOLVE_OPTIONS: ${{ github.event.inputs.resolve_options }}
jobs:
valgrind:
container:
image: ghcr.io/steinwurf/valgrind-3.17.0:1.0.0
options: --user 0:0
volumes:
- /home/buildbot/.ssh:/root/.ssh
env:
test_arch: x86_64
test_compiler: gcc
test_os: linux
name: Valgrind 3.17.0
runs-on:
- self-hosted
- docker
- builder
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure
run: python3 waf configure --git_protocol=git@ $EXTRA_RESOLVE_OPTIONS
- name: Build
run: 'echo "::add-matcher::.github/gcc-problem-matcher.json"
python3 waf
'
- name: Valgrind Test
run: python3 waf --run_tests --run_cmd="valgrind %s --os=${{env.test_os}} --compiler=${{env.test_compiler}}
--arch=${{env.test_arch}}"
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true