mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
2
.github/scripts/strategy-matrix/generate.py
vendored
2
.github/scripts/strategy-matrix/generate.py
vendored
@@ -145,8 +145,6 @@ def generate_strategy_matrix(all: bool, config: Config) -> list:
|
|||||||
# Unity on linux/amd64
|
# Unity on linux/amd64
|
||||||
if f'{os["compiler_name"]}-{os["compiler_version"]}' == 'gcc-15' and build_type == 'Debug' and '-Dunity=OFF' in cmake_args and architecture['platform'] == 'linux/amd64':
|
if f'{os["compiler_name"]}-{os["compiler_version"]}' == 'gcc-15' and build_type == 'Debug' and '-Dunity=OFF' in cmake_args and architecture['platform'] == 'linux/amd64':
|
||||||
cmake_args = f'-Dcoverage=ON -Dcoverage_format=xml -DCODE_COVERAGE_VERBOSE=ON -DCMAKE_C_FLAGS=-O0 {cmake_args}'
|
cmake_args = f'-Dcoverage=ON -Dcoverage_format=xml -DCODE_COVERAGE_VERBOSE=ON -DCMAKE_C_FLAGS=-O0 {cmake_args}'
|
||||||
cmake_target = 'coverage'
|
|
||||||
build_only = True
|
|
||||||
cxx_flags = f'-O0 {cxx_flags}'
|
cxx_flags = f'-O0 {cxx_flags}'
|
||||||
|
|
||||||
# Generate a unique name for the configuration, e.g. macos-arm64-debug
|
# Generate a unique name for the configuration, e.g. macos-arm64-debug
|
||||||
|
|||||||
@@ -49,6 +49,12 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
sanitizers:
|
||||||
|
description: "The sanitizers to enable ('Address+UndefinedBehaviour' or 'Thread+UndefinedBehaviour')."
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
|
||||||
nproc_subtract:
|
nproc_subtract:
|
||||||
description: "The number of processors to subtract when calculating parallelism."
|
description: "The number of processors to subtract when calculating parallelism."
|
||||||
required: false
|
required: false
|
||||||
@@ -100,6 +106,7 @@ jobs:
|
|||||||
build_dir: ${{ inputs.build_dir }}
|
build_dir: ${{ inputs.build_dir }}
|
||||||
build_nproc: ${{ steps.nproc.outputs.nproc }}
|
build_nproc: ${{ steps.nproc.outputs.nproc }}
|
||||||
build_type: ${{ inputs.build_type }}
|
build_type: ${{ inputs.build_type }}
|
||||||
|
sanitizers: ${{ inputs.sanitizers }}
|
||||||
# Set the verbosity to "quiet" for Windows to avoid an excessive
|
# Set the verbosity to "quiet" for Windows to avoid an excessive
|
||||||
# amount of logs. For other OSes, the "verbose" logs are more useful.
|
# amount of logs. For other OSes, the "verbose" logs are more useful.
|
||||||
log_verbosity: ${{ runner.os == 'Windows' && 'quiet' || 'verbose' }}
|
log_verbosity: ${{ runner.os == 'Windows' && 'quiet' || 'verbose' }}
|
||||||
|
|||||||
Reference in New Issue
Block a user