Skip to content

Commit

Permalink
Remove dev and main branch from workflows. (ROCm#404)
Browse files Browse the repository at this point in the history
* Remove `dev` and `main` branch from workflows.

Update links in documentation.

Signed-off-by: David Galiffi <David.Galiffi@amd.com>

* `amd-staging` -> `amd-mainline` in docs

Signed-off-by: Peter Jun Park <peter.park@amd.com>

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Signed-off-by: Peter Jun Park <peter.park@amd.com>
Co-authored-by: Peter Jun Park <peter.park@amd.com>
Signed-off-by: xuchen-amd <xuchen@amd.com>
  • Loading branch information
2 people authored and xuchen-amd committed Oct 28, 2024
1 parent 32632a1 commit 2f32695
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 54 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ name: Documentation

on:
push:
<<<<<<< HEAD
branches: [ amd-mainline ]
=======
branches: [ main, amd-mainline ]
>>>>>>> c3ce1aae (Prep work for branch renaming (#389))
paths:
- 'docs/archive/docs-2.x/**'
- 'docs/archive/docs-1.x/**'
Expand Down Expand Up @@ -40,10 +36,6 @@ jobs:
- name: Build 1.x docs
run: |
cd docs/archive/docs-1.x
<<<<<<< HEAD
cd docs/archive/docs-1.x
=======
>>>>>>> c3ce1aae (Prep work for branch renaming (#389))
make html
- name: Build 2.x docs
run: |
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,9 @@ name: Formatting

on:
push:
<<<<<<< HEAD
branches: [ amd-mainline, amd-staging, release/** ]
branches: [ amd-mainline, amd-staging ]
pull_request:
branches: [ amd-mainline, amd-staging, release/** ]
=======
branches: [ main, dev, amd-mainline, amd-staging ]
pull_request:
branches: [ main, dev, amd-mainline, amd-staging ]
>>>>>>> c3ce1aae (Prep work for branch renaming (#389))
branches: [ amd-mainline, amd-staging ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/mi-rhel9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ name: mi-rhel9

on:
push:
<<<<<<< HEAD
branches: [ amd-mainline, release/** ]
=======
branches: [ main, amd-mainline ]
>>>>>>> c3ce1aae (Prep work for branch renaming (#389))
branches: [ amd-mainline ]

# Allows manual execution
workflow_dispatch:
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/rhel-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@ name: RHEL 8
# Controls when the workflow will run
on:
push:
<<<<<<< HEAD
branches: [ amd-mainline, amd-staging, release/** ]
branches: [ amd-mainline, amd-staging ]
pull_request:
branches: [ amd-mainline, amd-staging, release/** ]
=======
branches: [ main, dev, amd-mainline, amd-staging ]
pull_request:
branches: [ main, dev, amd-mainline, amd-staging ]
>>>>>>> c3ce1aae (Prep work for branch renaming (#389))
branches: [ amd-mainline, amd-staging ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ name: tarball

on:
push:
<<<<<<< HEAD
branches: [ amd-mainline, release/** ]
=======
branches: [ main, amd-mainline ]
>>>>>>> c3ce1aae (Prep work for branch renaming (#389))
branches: [ amd-mainline ]
pull_request:

concurrency:
Expand Down Expand Up @@ -103,15 +99,8 @@ jobs:
- name: Access rocprofiler-compute using modulefile
run: |
. /etc/profile.d/lmod.sh
<<<<<<< HEAD
module use $INSTALL_DIR/rocprofiler-compute/share/rocprofiler-compute/modulefiles
module load rocprofiler-compute
module list
rocprof-compute --version
=======
module use $INSTALL_DIR/omniperf/share/omniperf/modulefiles
module load omniperf
module list
omniperf --version
>>>>>>> c3ce1aae (Prep work for branch renaming (#389))
10 changes: 2 additions & 8 deletions .github/workflows/ubuntu-jammy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,9 @@ name: Ubuntu 22.04

on:
push:
<<<<<<< HEAD
branches: [ amd-mainline, amd-staging, release/** ]
branches: [ amd-mainline, amd-staging ]
pull_request:
branches: [ amd-mainline, amd-staging, release/** ]
=======
branches: [ main, dev, amd-mainline, amd-staging ]
pull_request:
branches: [ main, dev, amd-mainline, amd-staging ]
>>>>>>> c3ce1aae (Prep work for branch renaming (#389))
branches: [ amd-mainline, amd-staging ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

# frequently used external resources
extlinks = {
"dev-sample": ("https://github.com/ROCm/omniperf/blob/dev/sample/%s", "%s"),
"dev-sample": ("https://github.com/ROCm/omniperf/blob/amd-mainline/sample/%s", "%s"),
"prod-page": (
"https://www.amd.com/en/products/accelerators/instinct/%s.html",
"%s",
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/analyze/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Walkthrough
3. Choose your own customized subset of metrics with the ``-b`` (or ``--block``)
option. Or, build your own configuration following
`config_template <https://github.com/ROCm/omniperf/blob/main/src/omniperf_soc/analysis_configs/panel_config_template.yaml>`_.
`config_template <https://github.com/ROCm/omniperf/blob/amd-mainline/src/omniperf_soc/analysis_configs/panel_config_template.yaml>`_.
The following snippet shows how to generate a report containing only metric 2
(:doc:`System Speed-of-Light </conceptual/system-speed-of-light>`).

Expand Down
2 changes: 1 addition & 1 deletion docs/how-to/profile/mode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Run ``omniperf profile -h`` for more details. See
Profiling example
-----------------

The `<https://github.com/ROCm/omniperf/blob/main/sample/vcopy.cpp>`__ repository
The `<https://github.com/ROCm/omniperf/blob/amd-mainline/sample/vcopy.cpp>`__ repository
includes source code for a sample GPU compute workload, ``vcopy.cpp``. A copy of
this file is available in the ``share/sample`` subdirectory after a normal
Omniperf installation, or via the ``$OMNIPERF_SHARE/sample`` directory when
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ manner. See
for further reading on this instruction type.

We develop a `simple
kernel <https://github.com/ROCm/omniperf/blob/dev/sample/stack.hip>`__
kernel <https://github.com/ROCm/omniperf/blob/amd-mainline/sample/stack.hip>`__
that uses stack memory:

.. code-block:: cpp
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial/profiling-by-example.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Profiling by example
********************

The following examples refer to sample :doc:`HIP <hip:index>` code located in
:fab:`github` :dev-sample:`ROCm/omniperf/blob/dev/sample <>` and distributed
:fab:`github` :dev-sample:`ROCm/omniperf/blob/amd-mainline/sample <>` and distributed
as part of Omniperf.

.. include:: ./includes/valu-arithmetic-instruction-mix.rst
Expand Down

0 comments on commit 2f32695

Please sign in to comment.