debug build_and_run_asan job #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |