From c1e8021796892bde99b38fbb66b019e5c3b9905c Mon Sep 17 00:00:00 2001 From: Harinath Nampally Date: Thu, 2 Jan 2025 20:43:22 -0500 Subject: [PATCH] invoke the new ci step from ubuntu.yml Signed-off-by: Harinath Nampally --- .github/workflows/ubuntu.yml | 2 +- cmake/ci.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 4f491a6c12..21028f85be 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -108,7 +108,7 @@ jobs: container: ubuntu:focal strategy: matrix: - target: [ci_cmake_flags, ci_test_diagnostics, ci_test_noexceptions, ci_test_noimplicitconversions, ci_test_legacycomparison, ci_test_noglobaludls] + target: [ci_cmake_flags, ci_test_diagnostics, ci_test_diagnostic_positions, ci_test_noexceptions, ci_test_noimplicitconversions, ci_test_legacycomparison, ci_test_noglobaludls] steps: - name: Install build-essential run: apt-get update ; apt-get install -y build-essential unzip wget git diff --git a/cmake/ci.cmake b/cmake/ci.cmake index 72c21ab3eb..1b163f1e80 100644 --- a/cmake/ci.cmake +++ b/cmake/ci.cmake @@ -558,7 +558,7 @@ add_custom_target(ci_test_diagnostics add_custom_target(ci_test_diagnostic_positions COMMAND ${CMAKE_COMMAND} -DCMAKE_BUILD_TYPE=Debug -GNinja - -DJSON_BuildTests=ON -DJSON_Diagnostics=ON -DJSON_Diagnostic_Positions=ON + -DJSON_BuildTests=ON -DJSON_Diagnostic_Positions=ON -S${PROJECT_SOURCE_DIR} -B${PROJECT_BINARY_DIR}/build_diagnostic_positions COMMAND ${CMAKE_COMMAND} --build ${PROJECT_BINARY_DIR}/build_diagnostic_positions COMMAND cd ${PROJECT_BINARY_DIR}/build_diagnostic_positions && ${CMAKE_CTEST_COMMAND} --parallel ${N} --output-on-failure