diff --git a/.github/workflows/aqlprofile-codeql.yml b/.github/workflows/aqlprofile-codeql.yml index 618aa6ae09..d9102ab14b 100644 --- a/.github/workflows/aqlprofile-codeql.yml +++ b/.github/workflows/aqlprofile-codeql.yml @@ -2,6 +2,8 @@ name: "AqlProfile CodeQL Advanced" on: push: + branches: + - develop paths: - 'projects/aqlprofile/**' pull_request: @@ -44,7 +46,7 @@ jobs: build-mode: none - language: actions build-mode: none - + steps: - name: Install OS requirements timeout-minutes: 10 @@ -55,14 +57,14 @@ jobs: sudo apt-add-repository ppa:git-core/ppa sudo apt-get update sudo apt install -y git - + - name: Checkout repository uses: actions/checkout@v4 with: sparse-checkout: | projects/aqlprofile .github/workflows/aqlprofile-code-ql.yml - + - name: Configure Git Safe Directory shell: bash run: | diff --git a/.github/workflows/aqlprofile-continuous_integration.yml b/.github/workflows/aqlprofile-continuous_integration.yml index abe50e9b4d..ca6e9de165 100644 --- a/.github/workflows/aqlprofile-continuous_integration.yml +++ b/.github/workflows/aqlprofile-continuous_integration.yml @@ -3,6 +3,8 @@ name: AqlProfile Continuous Integration on: workflow_dispatch: push: + branches: + - develop paths: - 'projects/aqlprofile/**' - '!projects/aqlprofile/*.md' @@ -43,11 +45,11 @@ jobs: strategy: fail-fast: false matrix: - runner: ['navi4', 'navi3', 'mi300'] + runner: ['navi4', 'navi3', 'mi3xx'] os: ['ubuntu-22.04'] build-type: ['RelWithDebInfo'] - runs-on: rocprofiler-${{ matrix.runner == 'mi300' && 'ubuntu-22' || matrix.runner }} + runs-on: rocprofiler-${{ matrix.runner }} if: github.event.pull_request.head.repo.full_name == 'AMD-ROCm-Internal/aqlprofile' permissions: diff --git a/.github/workflows/rocprofiler-register-continuous-integration.yml b/.github/workflows/rocprofiler-register-continuous-integration.yml index 7620fe97f2..e0e6b7cd7e 100644 --- a/.github/workflows/rocprofiler-register-continuous-integration.yml +++ b/.github/workflows/rocprofiler-register-continuous-integration.yml @@ -2,6 +2,8 @@ name: rocprofiler-register Continuous Integration on: push: + branches: + - develop paths: - 'projects/rocprofiler-register/**' - '!projects/rocprofiler-register/*.md' @@ -45,7 +47,7 @@ jobs: # ci-args: '--memcheck UndefinedBehaviorSanitizer' # ci-tag: '-undefined-behavior-sanitizer' - runs-on: rocprofiler-ubuntu-22 + runs-on: rocprofiler-mi3xx env: BUILD_TYPE: RelWithDebInfo diff --git a/.github/workflows/rocprofiler-sdk-code_coverage.yml b/.github/workflows/rocprofiler-sdk-code_coverage.yml index 32815d43fe..5ffb8cc9b3 100644 --- a/.github/workflows/rocprofiler-sdk-code_coverage.yml +++ b/.github/workflows/rocprofiler-sdk-code_coverage.yml @@ -7,6 +7,8 @@ permissions: on: workflow_dispatch: push: + branches: + - develop paths: - 'projects/rocprofiler-sdk/**' - '!projects/rocprofiler-sdk/CODEOWNERS' @@ -61,7 +63,7 @@ jobs: os: ['ubuntu-22.04'] build-type: ['Release'] - runs-on: rocprofiler-ubuntu-22 + runs-on: rocprofiler-mi3xx # define this for container env: diff --git a/.github/workflows/rocprofiler-sdk-codeql.yml b/.github/workflows/rocprofiler-sdk-codeql.yml index 98486f7e27..d1314e5502 100644 --- a/.github/workflows/rocprofiler-sdk-codeql.yml +++ b/.github/workflows/rocprofiler-sdk-codeql.yml @@ -10,6 +10,8 @@ on: - '!projects/rocprofiler-sdk/*.md' push: + branches: + - develop paths: - 'projects/rocprofiler-sdk/**' - '!projects/rocprofiler-sdk/CODEOWNERS' diff --git a/.github/workflows/rocprofiler-sdk-continuous_integration.yml b/.github/workflows/rocprofiler-sdk-continuous_integration.yml index ce8fb71225..0c1e6a6fc7 100644 --- a/.github/workflows/rocprofiler-sdk-continuous_integration.yml +++ b/.github/workflows/rocprofiler-sdk-continuous_integration.yml @@ -57,7 +57,7 @@ jobs: os: ['ubuntu-22.04'] build-type: ['RelWithDebInfo'] - runs-on: rocprofiler-${{ matrix.runner == 'mi3xx' && 'ubuntu-22' || matrix.runner }} + runs-on: rocprofiler-${{ matrix.runner }} # define this for containers env: @@ -282,7 +282,7 @@ jobs: build-type: ['RelWithDebInfo'] if: ${{ contains(github.event_name, 'pull_request') }} - runs-on: rocprofiler-${{ matrix.runner == 'mi3xx' && 'ubuntu-22' || matrix.runner }} + runs-on: rocprofiler-${{ matrix.runner }} # define this for containers env: diff --git a/.github/workflows/rocprofiler-sdk-docs.yml b/.github/workflows/rocprofiler-sdk-docs.yml index effab47f15..1bee48fc5c 100644 --- a/.github/workflows/rocprofiler-sdk-docs.yml +++ b/.github/workflows/rocprofiler-sdk-docs.yml @@ -3,6 +3,8 @@ name: rocprofiler-sdk Documentation on: workflow_dispatch: push: + branches: + - develop paths: - 'projects/rocprofiler-sdk/*.md' - 'projects/rocprofiler-sdk/VERSION' diff --git a/.github/workflows/rocprofiler-sdk-python.yml b/.github/workflows/rocprofiler-sdk-python.yml index fedbda21c0..256afe8f6e 100644 --- a/.github/workflows/rocprofiler-sdk-python.yml +++ b/.github/workflows/rocprofiler-sdk-python.yml @@ -3,6 +3,8 @@ name: rocprofiler-sdk Python Linting on: workflow_dispatch: push: + branches: + - develop paths: - 'projects/rocprofiler-sdk/**' pull_request: diff --git a/.github/workflows/rocprofiler-sdk-rocm_release_compatibility.yml b/.github/workflows/rocprofiler-sdk-rocm_release_compatibility.yml index d25f4bbd9e..d6f30de089 100644 --- a/.github/workflows/rocprofiler-sdk-rocm_release_compatibility.yml +++ b/.github/workflows/rocprofiler-sdk-rocm_release_compatibility.yml @@ -6,6 +6,8 @@ permissions: on: workflow_dispatch: push: + branches: + - develop paths: - 'projects/rocprofiler-sdk/**' - '!projects/rocprofiler-sdk/CODEOWNERS'