forked from bloomberg/blazingmq
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1 KB
/
sanitizers.yaml
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
31
32
33
34
35
36
name: Sanitizers
on:
workflow_call:
inputs:
sanitizer-name:
description: Sanitizer name (asan/msan/tsan/ubsan)
type: string
required: true
# working-directory:
# description: Working directory to use
# type: string
# default: './'
jobs:
build_and_run_sanitizer:
name: Build and run Sanitizer: ${{ inputs.sanitizer-name }}
runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: ${{ inputs.working-directory }}
steps:
- uses: actions/checkout@v4
- name: Get dependencies hash
id: get-hash
run: echo "deps_hash=`cat docker/build_deps.sh | shasum`" >> $GITHUB_OUTPUT
- uses: actions/cache/restore@v4
with:
path: deps
key: deps-${{ steps.get-hash.outputs.deps_hash }}
- name: List deps/srcs
run: ls -lah ${{ github.workspace }}/deps/srcs
- name: San name
run: echo ${{ inputs.sanitizer-name }}
- name: ROOT name
run: pwd