Skip to content

Compute Sanitizer racecheck #13

Compute Sanitizer racecheck

Compute Sanitizer racecheck #13

name: Compute Sanitizer
run-name: "Compute Sanitizer ${{ inputs.tool_name }}"
on:
workflow_dispatch:
inputs:
tool_name:
required: true
type: choice
description: "Compute sanitizer tool to run"
options:
- memcheck
- racecheck
- initcheck
- synccheck
test_names:
required: false
type: string
description: "JSON array of test names to run (discovers all tests if empty)"
default: ""
jobs:
discover-sanitizer-tests:
if: ${{ inputs.test_names == '' }}
runs-on: linux-amd64-cpu4
container:
image: rapidsai/ci-conda:26.06-latest
outputs:
tests: ${{ steps.find-tests.outputs.tests }}
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Discover test executables
id: find-tests
shell: bash
run: |
./ci/discover_libcudf_tests.sh
run-sanitizer-tests:
name: Run ${{ inputs.tool_name }} on ${{ matrix.test_name }}
needs: discover-sanitizer-tests
if: ${{ !cancelled() }}
runs-on: linux-amd64-gpu-l4-latest-1
container:
image: rapidsai/ci-conda:26.06-latest
options: --gpus all
continue-on-error: true
strategy:
fail-fast: false
matrix:
test_name: ${{ fromJson(inputs.test_names || needs.discover-sanitizer-tests.outputs.tests) }}
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Run compute-sanitizer ${{ inputs.tool_name }} on ${{ matrix.test_name }}
shell: bash
env:
TOOL_NAME: "${{ inputs.tool_name }}"
TEST_NAME: "${{ matrix.test_name }}"
run: |
./ci/run_compute_sanitizer_test.sh "${TOOL_NAME}" "${TEST_NAME}"