From 46c09872535b186e1b6ff74b1a5ec637619ceef1 Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Thu, 31 Jul 2025 13:55:54 -0500 Subject: [PATCH] Fixing ROCProfiler SDK workflows --- .../rocprofiler-sdk-continuous_integration.yml | 18 +++++++++++++++--- .github/workflows/rocprofiler-sdk-docs.yml | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rocprofiler-sdk-continuous_integration.yml b/.github/workflows/rocprofiler-sdk-continuous_integration.yml index 5e759f4d8e..e0338ff620 100644 --- a/.github/workflows/rocprofiler-sdk-continuous_integration.yml +++ b/.github/workflows/rocprofiler-sdk-continuous_integration.yml @@ -65,7 +65,11 @@ jobs: CORE_EXT_RUNNER: mi3xx steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + with: + sparse-checkout: projects/rocprofiler-sdk + set-safe-directory: true - name: Install requirements timeout-minutes: 10 @@ -205,7 +209,11 @@ jobs: OS_TYPE: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + with: + sparse-checkout: projects/rocprofiler-sdk + set-safe-directory: true - name: Install requirements timeout-minutes: 10 @@ -282,7 +290,11 @@ jobs: GCC_COMPILER_VERSION: 13 steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 + with: + sparse-checkout: projects/rocprofiler-sdk + set-safe-directory: true - name: Install requirements timeout-minutes: 10 diff --git a/.github/workflows/rocprofiler-sdk-docs.yml b/.github/workflows/rocprofiler-sdk-docs.yml index c934f39071..5508941209 100644 --- a/.github/workflows/rocprofiler-sdk-docs.yml +++ b/.github/workflows/rocprofiler-sdk-docs.yml @@ -102,7 +102,7 @@ jobs: working-directory: projects/rocprofiler-sdk/ run: export CMAKE_PREFIX_PATH=/opt/rocm:${CMAKE_PREFIX_PATH}; - git submodule update --init --recursive; + git submodule update --init -- .; cmake -B build -DROCPROFILER_DEP_ROCMCORE=ON -DROCPROFILER_BUILD_DOCS=ON