-
Notifications
You must be signed in to change notification settings - Fork 44
30 lines (28 loc) · 929 Bytes
/
linux-asan.yml
File metadata and controls
30 lines (28 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: 'Linux + Address Sanitizer'
on:
workflow_call:
inputs:
run_build:
required: true
type: boolean
push:
branches: [ 'main' ]
jobs:
clang-asan:
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: relwithdebinfo
cmake-args: "-D SILKIT_BUILD_DASHBOARD=OFF \
-DCMAKE_C_COMPILER=clang-18 \
-DCMAKE_CXX_COMPILER=clang++-18 \
-DCMAKE_CXX_FLAGS='-fsanitize=address -fno-omit-frame-pointer' \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO='-Og -g3'"
artifact-label: ${{ github.job }}