Skip to content

perf: reverse_purge_hash_map::purge no longer allocates its sample #249

perf: reverse_purge_hash_map::purge no longer allocates its sample

perf: reverse_purge_hash_map::purge no longer allocates its sample #249

Workflow file for this run

name: Sanitize
on:
pull_request:
branches:
- master
workflow_dispatch:
env:
BUILD_TYPE: Release
jobs:
build:
name: ${{ matrix.sanitizer.name }} (${{ matrix.compiler.cc }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sanitizer:
- { name: "Address Sanitizer", flags: "address" }
- { name: "Undefined Behavior Sanitizer", flags: "undefined,float-cast-overflow" }
compiler:
- { cc: "gcc", cxx: "g++" }
- { cc: "clang", cxx: "clang++" }
env:
UBSAN_OPTIONS: print_stacktrace=1
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
persist-credentials: false
- name: Configure
env:
CC: ${{ matrix.compiler.cc }}
CXX: ${{ matrix.compiler.cxx }}
run: cmake -B build -S . -DSANITIZE=${{ matrix.sanitizer.flags }}
- name: Build C++ unit tests
run: cmake --build build --config Release
- name: Run C++ tests
run: cmake --build build --config Release --target test