Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote amd-staging to amd-mainline #7

Merged
merged 9 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 44 additions & 0 deletions .azuredevops/rocm-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
resources:
repositories:
- repository: pipelines_repo
type: github
endpoint: ROCm
name: ROCm/ROCm

variables:
- group: common
- template: /.azuredevops/variables-global.yml@pipelines_repo

trigger:
batch: true
branches:
include:
- amd-staging
- amd-mainline
paths:
exclude:
- .github
- docs
- '.*.y*ml'
- '*.md'
- LICENSE
- VERSION

pr:
autoCancel: true
branches:
include:
- amd-staging
- amd-mainline
paths:
exclude:
- .github
- docs
- '.*.y*ml'
- '*.md'
- LICENSE
- VERSION
drafts: false

jobs:
- template: ${{ variables.CI_COMPONENT_PATH }}/rocprofiler-systems.yml@pipelines_repo
36 changes: 18 additions & 18 deletions .cmake-format.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parse:
additional_commands:
omnitrace_checkout_git_submodule:
rocprofiler_systems_checkout_git_submodule:
flags:
- RECURSIVE
kwargs:
Expand All @@ -10,15 +10,15 @@ parse:
REPO_URL: '*'
REPO_BRANCH: '*'
ADDITIONAL_COMMANDS: '*'
omnitrace_save_variables:
rocprofiler_systems_save_variables:
kwargs:
VARIABLES: '*'
CONDITION: '*'
omnitrace_restore_variables:
rocprofiler_systems_restore_variables:
kwargs:
VARIABLES: '*'
CONDITION: '*'
omnitrace_add_test:
rocprofiler_systems_add_test:
flags:
- SKIP_BASELINE
- SKIP_SAMPLING
Expand Down Expand Up @@ -50,7 +50,7 @@ parse:
BASELINE_FAIL_REGEX: '*'
REWRITE_RUN_PASS_REGEX: '*'
REWRITE_RUN_FAIL_REGEX: '*'
omnitrace_add_causal_test:
rocprofiler_systems_add_causal_test:
flags:
- SKIP_BASELINE
kwargs:
Expand All @@ -72,12 +72,12 @@ parse:
BASELINE_FAIL_REGEX: '*'
CAUSAL_VALIDATE_PASS_REGEX: '*'
CAUSAL_VALIDATE_FAIL_REGEX: '*'
omnitrace_target_compile_definitions:
rocprofiler_systems_target_compile_definitions:
kwargs:
PUBLIC: '*'
PRIVATE: '*'
INTERFACE: '*'
omnitrace_add_bin_test:
rocprofiler_systems_add_bin_test:
flags:
- WILL_FAIL
kwargs:
Expand All @@ -94,7 +94,7 @@ parse:
PASS_REGEX: '*'
FAIL_REGEX: '*'
SKIP_REGEX: '*'
omnitrace_add_python_test:
rocprofiler_systems_add_python_test:
flags:
- STANDALONE
kwargs:
Expand All @@ -113,7 +113,7 @@ parse:
PASS_REGEX: '*'
FAIL_REGEX: '*'
SKIP_REGEX: '*'
omnitrace_add_python_validation_test:
rocprofiler_systems_add_python_validation_test:
kwargs:
NAME: '*'
ARGS: '*'
Expand All @@ -128,19 +128,19 @@ parse:
- SEND_ERROR
- FATAL_ERROR
- AUTHOR_WARNING
omnitrace_find_python:
rocprofiler_systems_find_python:
flags:
- REQUIRED
- QUIET
kwargs:
VERSION: '*'
ROOT_DIR: '*'
COMPONENTS: '*'
omnitrace_python_console_script:
rocprofiler_systems_python_console_script:
kwargs:
VERSION: '*'
ROOT_DIR: '*'
omnitrace_pybind11_add_module:
rocprofiler_systems_pybind11_add_module:
flags:
- MODULE
- SHARED
Expand All @@ -153,7 +153,7 @@ parse:
PYTHON_VERSION: '*'
CXX_STANDARD: '*'
VISIBILITY: '*'
omnitrace_directory:
rocprofiler_systems_directory:
flags:
- MKDIR
- FAIL
Expand All @@ -162,14 +162,14 @@ parse:
OUTPUT_VARIABLE: '*'
WORKING_DIRECTORY: '*'
PATHS: '*'
omnitrace_check_python_dirs_and_versions:
rocprofiler_systems_check_python_dirs_and_versions:
flags:
- UNSET
- FAIL
kwargs:
RESULT_VARIABLE: '*'
OUTPUT_VARIABLE: '*'
omnitrace_find_static_library:
rocprofiler_systems_find_static_library:
flags:
- NO_CACHE
- REQUIRED
Expand All @@ -188,7 +188,7 @@ parse:
PATHS: '*'
PATH_SUFFIXES: '*'
DOC: '*'
omnitrace_find_shared_library:
rocprofiler_systems_find_shared_library:
flags:
- NO_CACHE
- REQUIRED
Expand All @@ -207,14 +207,14 @@ parse:
PATHS: '*'
PATH_SUFFIXES: '*'
DOC: '*'
omnitrace_causal_example_executable:
rocprofiler_systems_causal_example_executable:
kwargs:
TAG: '*'
SOURCES: '*'
DEFINITIONS: '*'
LINK_LIBRARIES: '*'
INCLUDE_DIRECTORIES: '*'
omnitrace_add_validation_test:
rocprofiler_systems_add_validation_test:
kwargs:
NAME: '*'
ARGS: '*'
Expand Down
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

- package-ecosystem: "pip" # See documentation for possible values
directory: "/docs/sphinx" # Location of package manifests
open-pull-requests-limit: 10
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
schedule:
- cron: 0 5 * * *
push:
branches: [main]
branches: [main, amd-mainline]
paths:
- '.github/workflows/containers.yml'
- 'docker/**'
Expand All @@ -20,7 +20,7 @@ env:
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1

jobs:
omnitrace-ci:
rocprofiler-systemss-ci:
if: github.repository == 'ROCm/omnitrace'

runs-on: ubuntu-20.04
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
./build-docker-ci.sh --distro ${{ matrix.distro }} --versions ${{ matrix.version }} --user ${{ secrets.DOCKERHUB_USERNAME }} --push --jobs 2 --elfutils-version 0.186 --boost-version 1.79.0
popd

omnitrace-release:
rocprofiler-systems-release:
if: github.repository == 'ROCm/omnitrace'

runs-on: ubuntu-20.04
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/cpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ run-name: cpack
on:
workflow_dispatch:
push:
branches: [main, releases/**]
branches: [main, amd-mainline, release/**]
tags:
- v*
- "v[1-9].[0-9]+.[0-9]+*"
- "rocm-[1-9].[0-9]+.[0-9]+*"
paths-ignore:
- '*.md'
- 'docs/**'
- 'source/docs/**'
pull_request:
branches: [main]
branches: [main, amd-mainline]
paths:
- '.github/workflows/cpack.yml'
- 'docker/**'
Expand Down Expand Up @@ -285,7 +286,7 @@ jobs:
timeout-minutes: 10
uses: actions/upload-artifact@v4
with:
name: omnitrace-stgz-${{ matrix.os-distro }}-${{ matrix.os-version }}-rocm-${{ matrix.rocm-version }}-installer
name: rocprofiler-systems-stgz-${{ matrix.os-distro }}-${{ matrix.os-version }}-rocm-${{ matrix.rocm-version }}-installer
path: |
build-release/stgz/*.sh

Expand All @@ -296,21 +297,21 @@ jobs:
shopt -s nullglob
for i in $(find build-release -type f | egrep '/(stgz|deb|rpm)/.*\.(sh|deb|rpm)$'); do mv ${i} ./; done
sudo rm -rf build-release
sudo rm -rf /opt/omnitrace
sudo rm -rf /opt/rocprofiler-systems

- name: Test STGZ Install
timeout-minutes: 20
run: |
set -v
for i in omnitrace-*.sh
for i in rocprofiler-systems-*.sh
do
./docker/test-docker-release.sh --distro ${{ matrix.os-distro }} --versions ${{ matrix.os-version }} --rocm-versions ${{ matrix.rocm-version }} -- --stgz ${i}
done

- name: Upload STGZ Release Assets
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'ROCm/omnitrace'
with:
fail_on_unmatched_files: True
files: |
omnitrace-*.sh
rocprofiler-systems-*.sh
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: Documentation
on:
workflow_dispatch:
push:
branches: [main, gh-pages]
branches: [main, amd-mainline, gh-pages]
paths:
- '*.md'
- 'source/docs/**'
- '.github/workflows/docs.yml'
- 'VERSION'
pull_request:
branches: [main]
branches: [main, amd-mainline]
paths:
- '*.md'
- 'source/docs/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ run-name: formatting

on:
push:
branches: [ main, develop ]
branches: [ main, develop, amd-mainline, amd-staging, release/** ]
pull_request:
branches: [ main, develop ]
branches: [ main, develop, amd-mainline, amd-staging, release/** ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
Loading
Loading