|
@@ -24,7 +24,7 @@ jobs:
|
|
|
strategy:
|
|
|
fail-fast: false
|
|
|
matrix:
|
|
|
- build_type: [Debug, Release, Distribution, ReleaseASAN, ReleaseUBSAN]
|
|
|
+ build_type: [Debug, Release, Distribution]
|
|
|
double_precision: [No, Yes]
|
|
|
|
|
|
steps:
|
|
@@ -41,24 +41,28 @@ jobs:
|
|
|
|
|
|
linux_clang_tsan:
|
|
|
runs-on: ubuntu-latest
|
|
|
- name: Linux Clang TSAN
|
|
|
+ name: Linux Clang Sanitizers
|
|
|
+ strategy:
|
|
|
+ fail-fast: false
|
|
|
+ matrix:
|
|
|
+ build_type: [ReleaseASAN, ReleaseUBSAN, ReleaseTSAN]
|
|
|
|
|
|
steps:
|
|
|
- name: Checkout Code
|
|
|
uses: actions/checkout@v4
|
|
|
- name: Configure CMake
|
|
|
working-directory: ${{github.workspace}}/Build
|
|
|
- run: ./cmake_linux_clang_gcc.sh ReleaseTSAN ${{env.UBUNTU_CLANG_VERSION}} -DTARGET_VIEWER=OFF -DTARGET_SAMPLES=OFF -DTARGET_HELLO_WORLD=OFF -DTARGET_UNIT_TESTS=ON -DTARGET_PERFORMANCE_TEST=ON
|
|
|
+ run: ./cmake_linux_clang_gcc.sh ${{matrix.build_type}} ${{env.UBUNTU_CLANG_VERSION}} -DTARGET_VIEWER=OFF -DTARGET_SAMPLES=OFF -DTARGET_HELLO_WORLD=OFF -DTARGET_UNIT_TESTS=ON -DTARGET_PERFORMANCE_TEST=ON
|
|
|
- name: Build
|
|
|
- run: cmake --build ${{github.workspace}}/Build/Linux_ReleaseTSAN -j $(nproc)
|
|
|
+ run: cmake --build ${{github.workspace}}/Build/Linux_${{matrix.build_type}} -j $(nproc)
|
|
|
- name: Unit Tests
|
|
|
- working-directory: ${{github.workspace}}/Build/Linux_ReleaseTSAN
|
|
|
+ working-directory: ${{github.workspace}}/Build/Linux_${{matrix.build_type}}
|
|
|
run: ctest --output-on-failure --verbose
|
|
|
- name: Test ConvexVsMesh
|
|
|
- working-directory: ${{github.workspace}}/Build/Linux_ReleaseTSAN
|
|
|
+ working-directory: ${{github.workspace}}/Build/Linux_${{matrix.build_type}}
|
|
|
run: ./PerformanceTest -q=LinearCast -t=max -s=ConvexVsMesh
|
|
|
- name: Test Ragdoll
|
|
|
- working-directory: ${{github.workspace}}/Build/Linux_ReleaseTSAN
|
|
|
+ working-directory: ${{github.workspace}}/Build/Linux_${{matrix.build_type}}
|
|
|
run: ./PerformanceTest -q=LinearCast -t=max -s=Ragdoll
|
|
|
|
|
|
linux-clang-so:
|