Skip to content

chore(profiling): make sanitizers happy #7

chore(profiling): make sanitizers happy

chore(profiling): make sanitizers happy #7

name: Profiling Native Tests with Sanitizers
on:
push:
paths:
- ddtrace/internal/datadog/profiling/**
branches:
- main
- 'mq-working-branch**'
pull_request:
workflow_dispatch: {}
jobs:
test:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
sanitizer: ["safety", "thread"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install latest Rust
run: rustup update stable && rustup default stable
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install LLVM and Clang
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 19
- name: Run profiling native tests
run: ./ddtrace/internal/datadog/profiling/build_standalone.sh --${{matrix.sanitizer}} RelWithDebInfo dd_wrapper_test