Skip to content

Add ci test-request

Add ci test-request #4

#name: build-and-test-tsan
#
#on: # yamllint disable-line rule:truthy
# push:
# branches:
# - master
# paths-ignore:
# - "**.md"
# - "**/docs/**"
# - "**/LICENSE"
# - "**/NOTICE"
# - "**/benchmark/**"
# - "version.txt"
# - "build.sh"
# pull_request:
# types:
# - opened
# - synchronize
# - reopened
# paths-ignore:
# - "**.md"
# - "**/docs/**"
# - "**/LICENSE"
# - "**/NOTICE"
# - "**/benchmark/**"
# - "version.txt"
# - "build.sh"
#
# workflow_dispatch:
# inputs:
# pr:
# description: "Pull request#"
# required: false
#
#env:
# # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
# BUILD_TYPE: RelWithDebInfo
#
#jobs:
# build-and-test-tsan:
# name: "ubuntu clang"
# runs-on: ubuntu-22.04
#
# steps:
# - uses: actions/checkout@v3
# with:
# submodules: recursive
#
# - name: Prepare
# run: bash ${{github.workspace}}/.github/workflows/prepare-env.sh 14
#
# - name: Generate Makefile
# run: clang -v && export CC=`which clang` CXX=`which clang++` && cmake -G Ninja -B ./build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSANITIZE=thread
#
# - name: Build
# working-directory: ${{github.workspace}}/build
# run: ninja -j 10
#
# - name: Run unit Tests
# working-directory: ${{github.workspace}}/build
# run: ./src/rk_unit_tests --gtest_color=yes
#
# - name: Run integration Tests
# working-directory: ${{github.workspace}}/tests/integration
# run: bash ${{github.workspace}}/.github/workflows/run-integration-test.sh ${{github.workspace}}/tests/integration --tsan-options "report_thread_leaks=0:detect_deadlocks=0:halt_on_error=1:history_size=7:external_symbolizer_path=/usr/bin/llvm-symbolizer"