Skip to content

ci: enable valgrind for build #1345

ci: enable valgrind for build

ci: enable valgrind for build #1345

Workflow file for this run

name: FreeBSD
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
env:
CMAKE_GENERATOR: Ninja
steps:
- uses: actions/checkout@v4
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y ninja cmake valgrind
run: |
freebsd-version
cmake -B build && cmake --build build -t retest
valgrind --leak-check=full --show-reachable=yes --error-exitcode=42 ./build/test/retest -r -v