diff --git a/.github/workflows/continuousIntegration.yml b/.github/workflows/continuousIntegration.yml index ec7dc14..8d26800 100644 --- a/.github/workflows/continuousIntegration.yml +++ b/.github/workflows/continuousIntegration.yml @@ -89,6 +89,7 @@ jobs: CMAKE_C_COMPILER: clang CMAKE_BUILD_TYPE: Release ENABLE_CUDA: ON + BUILD_AND_TEST_ARGS: "--disable-unit-tests" - name: RHEL8.8-gcc12-cuda11-rel (ubi8.8, gcc 12.2.1, cuda-12.2.2, Release) DOCKER_REPOSITORY: geosx/ubi8:ubi8.8-cuda12.2.2 @@ -97,6 +98,7 @@ jobs: CMAKE_C_COMPILER: /opt/rh/gcc-toolset-12/root/bin/gcc CMAKE_BUILD_TYPE: Release ENABLE_CUDA: ON + BUILD_AND_TEST_ARGS: "--disable-unit-tests" steps: - name: Checkout Repository diff --git a/cmake/CMakeBasics.cmake b/cmake/CMakeBasics.cmake index 36fd050..c0b2cc4 100644 --- a/cmake/CMakeBasics.cmake +++ b/cmake/CMakeBasics.cmake @@ -38,3 +38,4 @@ endif() set( CAMP_ENABLE_TESTS OFF CACHE BOOL "") +target_compile_options( camp PRIVATE "-Wno-shadow") \ No newline at end of file diff --git a/scripts/ci_build_and_test_in_container.sh b/scripts/ci_build_and_test_in_container.sh index e66d1ad..e021149 100755 --- a/scripts/ci_build_and_test_in_container.sh +++ b/scripts/ci_build_and_test_in_container.sh @@ -55,7 +55,10 @@ if [[ "$*" == *--test-documentation* ]]; then fi or_die make -or_die ctest --output-on-failure + +if [[ "$*" != *--disable-unit-tests* ]]; then + or_die ctest --output-on-failure -E "testUncrustifyCheck|testDoxygenCheck" +fi exit 0 \ No newline at end of file