diff --git a/.github/workflows/rocprofiler-sdk-code_coverage.yml b/.github/workflows/rocprofiler-sdk-code_coverage.yml index 9a2f33887d..7956075747 100644 --- a/.github/workflows/rocprofiler-sdk-code_coverage.yml +++ b/.github/workflows/rocprofiler-sdk-code_coverage.yml @@ -15,6 +15,7 @@ on: - '!projects/rocprofiler-sdk/source/docs/**' - '!projects/rocprofiler-sdk/*.md' - '!projects/rocprofiler-sdk/**/README.md' + - '.github/workflows/rocprofiler-sdk-code_coverage.yml' pull_request: paths: - 'projects/rocprofiler-sdk/**' @@ -22,6 +23,7 @@ on: - '!projects/rocprofiler-sdk/source/docs/**' - '!projects/rocprofiler-sdk/*.md' - '!projects/rocprofiler-sdk/**/README.md' + - '.github/workflows/rocprofiler-sdk-code_coverage.yml' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -58,11 +60,11 @@ jobs: strategy: # fail-fast: false matrix: - runner: ['mi300'] + runner: ['mi300a'] os: ['ubuntu-22.04'] build-type: ['Release'] - runs-on: rocprofiler-mi3xx + runs-on: rocprofiler-mi300a # define this for container env: diff --git a/.github/workflows/rocprofiler-sdk-continuous_integration.yml b/.github/workflows/rocprofiler-sdk-continuous_integration.yml index 0e0e51a662..ee6329625f 100644 --- a/.github/workflows/rocprofiler-sdk-continuous_integration.yml +++ b/.github/workflows/rocprofiler-sdk-continuous_integration.yml @@ -11,6 +11,7 @@ on: - '!projects/rocprofiler-sdk/**/README.md' - '!projects/rocprofiler-sdk/CODEOWNERS' - '!projects/rocprofiler-sdk/source/docs/**' + - '.github/workflows/rocprofiler-sdk-continuous_integration.yml' pull_request: paths: - 'projects/rocprofiler-sdk/**' @@ -18,6 +19,7 @@ on: - '!projects/rocprofiler-sdk/**/README.md' - '!projects/rocprofiler-sdk/CODEOWNERS' - '!projects/rocprofiler-sdk/source/docs/**' + - '.github/workflows/rocprofiler-sdk-continuous_integration.yml' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -55,7 +57,7 @@ jobs: strategy: fail-fast: false matrix: - runner: ['navi4', 'navi3', 'mi300a'] + runner: ['navi4', 'navi3', 'mi3xx'] os: ['ubuntu-22.04'] build-type: ['RelWithDebInfo'] diff --git a/.github/workflows/rocprofiler-sdk-docs.yml b/.github/workflows/rocprofiler-sdk-docs.yml index 1bee48fc5c..974edda07f 100644 --- a/.github/workflows/rocprofiler-sdk-docs.yml +++ b/.github/workflows/rocprofiler-sdk-docs.yml @@ -12,6 +12,7 @@ on: - 'projects/rocprofiler-sdk/source/scripts/update-docs.sh' - 'projects/rocprofiler-sdk/source/include/rocprofiler-sdk/**' - 'projects/rocprofiler-sdk/.github/workflows/docs.yml' + - '.github/workflows/rocprofiler-sdk-docs.yml' pull_request: paths: - 'projects/rocprofiler-sdk/*.md' @@ -20,6 +21,7 @@ on: - 'projects/rocprofiler-sdk/source/scripts/update-docs.sh' - 'projects/rocprofiler-sdk/source/include/rocprofiler-sdk/**' - 'projects/rocprofiler-sdk/.github/workflows/docs.yml' + - '.github/workflows/rocprofiler-sdk-docs.yml' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -67,18 +69,17 @@ jobs: ../scripts/update-docs.sh build-docs-from-source: - runs-on: ubuntu-latest - container: rocm/dev-ubuntu-22.04:latest + runs-on: rocprofiler-mi3xx steps: - name: Install os essentials timeout-minutes: 10 shell: bash run: | - sudo apt update - sudo apt install -y software-properties-common - sudo apt-add-repository ppa:git-core/ppa - sudo apt-get update - sudo apt-get install -y git + apt update + apt install -y software-properties-common + apt-add-repository ppa:git-core/ppa + apt-get update + apt-get install -y git - name: Checkout uses: actions/checkout@v4 with: @@ -97,8 +98,8 @@ jobs: shell: bash working-directory: projects/rocprofiler-sdk/ run: | - sudo apt-get update - sudo apt-get install -y cmake gcc g++ libdw-dev libsqlite3-dev rpm + apt-get update + apt-get install -y cmake gcc g++ libdw-dev libsqlite3-dev rpm python3 -m pip install -r requirements.txt - name: Configure, Build, Install, and Package @@ -107,7 +108,6 @@ jobs: working-directory: projects/rocprofiler-sdk/ run: export CMAKE_PREFIX_PATH=/opt/rocm:${CMAKE_PREFIX_PATH}; - git submodule update --init -- .; cmake -B build -DROCPROFILER_DEP_ROCMCORE=ON -DROCPROFILER_BUILD_DOCS=ON @@ -118,5 +118,5 @@ jobs: .; cmake --build build --target docs --parallel 4; cmake --build build --target all --parallel 12; - sudo cmake --build build --target install --parallel 12; + cmake --build build --target install --parallel 12; cmake --build build --target package --parallel 12