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