mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
name: Run tests with sanitizers
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 4 * * 1-5"
|
|
workflow_dispatch:
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/sanitizers.yml"
|
|
|
|
concurrency:
|
|
# Only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-and-test:
|
|
name: Build and Test
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- sanitizer: tsan
|
|
compiler: gcc
|
|
- sanitizer: asan
|
|
compiler: gcc
|
|
- sanitizer: ubsan
|
|
compiler: gcc
|
|
|
|
uses: ./.github/workflows/build_and_test.yml
|
|
with:
|
|
runs_on: heavy
|
|
container: '{ "image": "ghcr.io/xrplf/clio-ci:latest" }'
|
|
disable_cache: true
|
|
conan_profile: ${{ matrix.compiler }}.${{ matrix.sanitizer }}
|
|
build_type: Release
|
|
static: false
|
|
run_unit_tests: true
|
|
run_integration_tests: false
|
|
upload_clio_server: false
|
|
targets: clio_tests clio_integration_tests
|
|
sanitizer: ${{ matrix.sanitizer }}
|