Skip to content

c-api: turn const global into define (#150) #76

c-api: turn const global into define (#150)

c-api: turn const global into define (#150) #76

Workflow file for this run

name: 'Linux + Thread Sanitizer'
on:
workflow_call:
inputs:
run_build:
required: true
type: boolean
default: true
push:
branches: [ 'main']
jobs:
clang-tsan:
name: Thread Sanitizer Tests
runs-on: ubuntu-latest
container:
image: ghcr.io/vectorgrp/sil-kit-docker-build/sil-kit-ci-public-runner:main
if: (inputs.run_build == true) || (github.event_name == 'push')
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: ./.github/actions/build-cmake-preset
with:
preset-name: clang-relwithdebinfo
cmake-args: "-D SILKIT_ENABLE_THREADSAN=ON -D SILKIT_BUILD_DASHBOARD=OFF \
-DCMAKE_C_COMPILER=clang-18 \
-DCMAKE_CXX_COMPILER=clang++-18"
artifact-label: ${{ github.job }}