diff --git a/.github/workflows/rocprofiler-register-continuous-integration.yml b/.github/workflows/rocprofiler-register-continuous-integration.yml index fd46ce85fa..2f3b4ef8be 100644 --- a/.github/workflows/rocprofiler-register-continuous-integration.yml +++ b/.github/workflows/rocprofiler-register-continuous-integration.yml @@ -53,9 +53,11 @@ jobs: PACKAGING_INSTALL_PREFIX: /opt/rocm steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: sparse-checkout: projects/rocprofiler-register + submodules: true + set-safe-directory: true - name: Install Packages timeout-minutes: 25 diff --git a/.github/workflows/rocprofiler-sdk-code_coverage.yml b/.github/workflows/rocprofiler-sdk-code_coverage.yml index 2c76882126..6a02edcbfe 100644 --- a/.github/workflows/rocprofiler-sdk-code_coverage.yml +++ b/.github/workflows/rocprofiler-sdk-code_coverage.yml @@ -72,7 +72,9 @@ jobs: steps: - uses: actions/checkout@v4 with: + sparse-checkout: projects/rocprofiler-sdk submodules: true + set-safe-directory: true - name: Load Existing XML Code Coverage if: github.event_name == 'pull_request' diff --git a/.github/workflows/rocprofiler-sdk-continuous_integration.yml b/.github/workflows/rocprofiler-sdk-continuous_integration.yml index e0338ff620..07640de05c 100644 --- a/.github/workflows/rocprofiler-sdk-continuous_integration.yml +++ b/.github/workflows/rocprofiler-sdk-continuous_integration.yml @@ -69,6 +69,7 @@ jobs: uses: actions/checkout@v4 with: sparse-checkout: projects/rocprofiler-sdk + submodules: true set-safe-directory: true - name: Install requirements @@ -197,7 +198,7 @@ jobs: fail-fast: false matrix: runner: ['mi300'] - os: ['rhel-8', 'sles-15'] + os: ['rhel', 'sles'] build-type: ['RelWithDebInfo'] ci-flags: [''] @@ -213,7 +214,6 @@ jobs: uses: actions/checkout@v4 with: sparse-checkout: projects/rocprofiler-sdk - set-safe-directory: true - name: Install requirements timeout-minutes: 10 @@ -294,6 +294,7 @@ jobs: uses: actions/checkout@v4 with: sparse-checkout: projects/rocprofiler-sdk + submodules: true set-safe-directory: true - name: Install requirements @@ -347,4 +348,4 @@ jobs: ${{ env.GLOBAL_CMAKE_OPTIONS }} -- -LE "${${{ matrix.runner }}_EXCLUDE_LABEL_REGEX}" - -E "${${{ matrix.runner }}_EXCLUDE_TESTS_REGEX}" \ No newline at end of file + -E "${${{ matrix.runner }}_EXCLUDE_TESTS_REGEX}" diff --git a/.github/workflows/rocprofiler-sdk-docs.yml b/.github/workflows/rocprofiler-sdk-docs.yml index 5508941209..e4f3445548 100644 --- a/.github/workflows/rocprofiler-sdk-docs.yml +++ b/.github/workflows/rocprofiler-sdk-docs.yml @@ -38,7 +38,9 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - sparse-checkout: projects/rocprofiler-sdk + sparse-checkout: projects/rocprofiler-sdk + submodules: true + set-safe-directory: true - name: Create Docs Directory run: | git config --global --add safe.directory '*' @@ -78,8 +80,9 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - sparse-checkout: projects/rocprofiler-sdk - set-safe-directory: true + sparse-checkout: projects/rocprofiler-sdk + submodules: true + set-safe-directory: true - name: Create Docs Directory shell: bash working-directory: projects/rocprofiler-sdk/