mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Added flow for the sanitizers build
Signed-off-by: Pratik Mankawde <pmankawde@ripple.com>
This commit is contained in:
@@ -24,6 +24,11 @@ on:
|
||||
description: "The CMake target to build."
|
||||
type: string
|
||||
required: true
|
||||
sanitizers:
|
||||
description: "The sanitizers to enable ('None', 'Address', 'Thread')."
|
||||
required: true
|
||||
type: string
|
||||
default: "None"
|
||||
|
||||
runs_on:
|
||||
description: Runner to run the job on as a JSON string
|
||||
@@ -61,6 +66,7 @@ jobs:
|
||||
runs_on: ${{ inputs.runs_on }}
|
||||
image: ${{ inputs.image }}
|
||||
config_name: ${{ inputs.config_name }}
|
||||
sanitizers: ${{ inputs.sanitizers }}
|
||||
nproc_subtract: ${{ inputs.nproc_subtract }}
|
||||
secrets:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
6
.github/workflows/reusable-build-test.yml
vendored
6
.github/workflows/reusable-build-test.yml
vendored
@@ -23,6 +23,11 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
default: "minimal"
|
||||
sanitizers:
|
||||
description: "The sanitizers to enable ('None', 'Address', 'Thread')."
|
||||
required: true
|
||||
type: string
|
||||
default: "None"
|
||||
secrets:
|
||||
CODECOV_TOKEN:
|
||||
description: "The Codecov token to use for uploading coverage reports."
|
||||
@@ -54,5 +59,6 @@ jobs:
|
||||
runs_on: ${{ toJSON(matrix.architecture.runner) }}
|
||||
image: ${{ contains(matrix.architecture.platform, 'linux') && format('ghcr.io/xrplf/ci/{0}-{1}:{2}-{3}-sha-{4}', matrix.os.distro_name, matrix.os.distro_version, matrix.os.compiler_name, matrix.os.compiler_version, matrix.os.image_sha) || '' }}
|
||||
config_name: ${{ matrix.config_name }}
|
||||
sanitizers: ${{ inputs.sanitizers }}
|
||||
secrets:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
6
.github/workflows/reusable-build.yml
vendored
6
.github/workflows/reusable-build.yml
vendored
@@ -19,6 +19,11 @@ on:
|
||||
description: "The CMake target to build."
|
||||
required: true
|
||||
type: string
|
||||
sanitizers:
|
||||
description: "The sanitizers to enable ('None', 'Address', 'Thread')."
|
||||
required: true
|
||||
type: string
|
||||
default: "None"
|
||||
|
||||
runs_on:
|
||||
description: Runner to run the job on as a JSON string
|
||||
@@ -85,6 +90,7 @@ jobs:
|
||||
build_dir: ${{ inputs.build_dir }}
|
||||
build_nproc: ${{ steps.nproc.outputs.nproc }}
|
||||
build_type: ${{ inputs.build_type }}
|
||||
sanitizers: ${{ inputs.sanitizers }}
|
||||
# Set the verbosity to "quiet" for Windows to avoid an excessive
|
||||
# amount of logs. For other OSes, the "verbose" logs are more useful.
|
||||
log_verbosity: ${{ runner.os == 'Windows' && 'quiet' || 'verbose' }}
|
||||
|
||||
Reference in New Issue
Block a user