Skip to content

Valgrind

Valgrind #1609

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:
jobs:
valgrind:
timeout-minutes: 45
name: Valgrind 3.19.0
runs-on: [self-hosted, vm, ubuntu-current]
steps:
- name: Ensure correct owner of repository
run: sudo chown -R actions-runner:actions-runner .
- name: Checkout
uses: actions/checkout@v3
- name: Configure
env:
EXTRA_RESOLVE_OPTIONS: ${{ inputs.extra_resolve_options }}
uses: nick-fields/retry@v2
with:
max_attempts: 3
timeout_minutes: 15
command: python3 waf configure --git_protocol=git@ ${{ env.EXTRA_RESOLVE_OPTIONS }} --ninja
- name: Build
run: |
echo "::add-matcher::.github/gcc-problem-matcher.json"
python3 waf
- name: Valgrind Test
run: valgrind --leak-check=full --error-exitcode=1 ./tunnel_tests
working-directory: build_current/cmake_default
workflow-keepalive:
if: github.event_name == 'schedule'
runs-on: [self-hosted, vm, ubuntu-current]
permissions:
actions: write
steps:
- uses: liskin/gh-workflow-keepalive@v1
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true