Update rocprofiler-systems github workflows (#193)

* Fix rocprofiler-systems CI

* Fix 'Documentation' jobs

* Python Linting fix

* Add python 3.11, 3.12

* Fix python linting

* Re-add ubuntu-noble workflow

* Remove old workflows from project folder

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

* Update rocprofiler-systems workflows

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

* Retire ubuntu-focal workflow

* Fix path to validation file in `build-docker.sh`

* Update .github/workflows/rocprofiler-systems-python.yml

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

* Revert dockerfile

* Retire rocprofiler-systems-ubuntu-focal workflow

* Include .github directory in cpack workflow sparse-checkout step

* Revert git from ubuntu ci image

---------

Signed-off-by: David Galiffi <David.Galiffi@amd.com>
Signed-off-by: Jason Bonnell <Jason.Bonnell@amd.com>
Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Dieser Commit ist enthalten in:
Milan Radosavljevic
2025-08-12 19:42:01 +02:00
committet von GitHub
Ursprung efb2aff8cf
Commit b793b183a4
24 geänderte Dateien mit 185 neuen und 2237 gelöschten Zeilen
@@ -28,7 +28,8 @@ RUN apt-get update && \
apt-get install -y autoconf autotools-dev bash-completion bison build-essential \
bzip2 chrpath cmake curl environment-modules flex gettext git-core gnupg2 \
gzip iproute2 libiberty-dev libpapi-dev libpfm4-dev libsqlite3-dev libtool \
locales lsb-release m4 ninja-build python3-pip texinfo unzip wget vim zip zlib1g-dev && \
locales lsb-release m4 ninja-build python3-pip software-properties-common \
texinfo unzip wget vim zip zlib1g-dev && \
apt-get autoclean && \
if [ "${OS_VERSION}" == "24.04" ]; then \
python3 -m pip install --break-system-packages 'cmake==3.21' perfetto \
@@ -39,8 +39,8 @@ usage()
echo ""
echo "Usage: ${BASH_SOURCE[0]} <OPTIONS> -- <build-release.sh OPTIONS>"
echo " e.g:"
echo " ${BASH_SOURCE[0]} --distro ubuntu --versions 20.04 --rocm-versions 5.0 5.1 -- --core +nopython --rocm-mpi +nopython"
echo " ${BASH_SOURCE[0]} --distro ubuntu --versions 20.04 --python-version 6 7 8 9 10 -- --rocm +python --rocm-mpi +nopython"
echo " ${BASH_SOURCE[0]} --distro ubuntu --versions 22.04 --rocm-versions 6.4 6.3 -- --core +nopython --rocm-mpi +nopython"
echo " ${BASH_SOURCE[0]} --distro ubuntu --versions 22.04 --python-version 6 7 8 9 10 -- --rocm +python --rocm-mpi +nopython"
}
send-error()
@@ -98,8 +98,8 @@ reset-last
: ${USER:=$(whoami)}
: ${DISTRO:=ubuntu}
: ${VERSIONS:=22.04 20.04}
: ${ROCM_VERSIONS:=5.0 4.5 4.3}
: ${VERSIONS:=22.04}
: ${ROCM_VERSIONS:=6.4 6.3}
: ${MPI:=0}
: ${PYTHON_VERSIONS:="6 7 8 9 10 11 12 13"}
: ${RETRY:=3}
@@ -5,7 +5,7 @@ set-user-defaults()
: ${USER:=$(whoami)}
: ${ROCM_VERSIONS:="6.3"}
: ${DISTRO:=ubuntu}
: ${VERSIONS:=20.04}
: ${VERSIONS:=22.04}
: ${PYTHON_VERSIONS:="6 7 8 9 10 11 12 13"}
: ${BUILD_CI:=""}
: ${PUSH:=0}
@@ -26,7 +26,7 @@ declare -a MATRIX_ROCM_VERSIONS=()
load-matrix()
{
local workflow_file=".github/workflows/containers.yml"
local workflow_file="$(git rev-parse --show-toplevel)/.github/workflows/rocprofiler-systems-containers.yml"
if [ ! -f "${workflow_file}" ]; then
echo -e "\n Error: Cannot find ${workflow_file}"
exit 1
@@ -336,9 +336,6 @@ do
22.04)
ROCM_REPO_DIST="jammy"
;;
20.04)
ROCM_REPO_DIST="focal"
;;
*)
;;
esac
@@ -37,7 +37,7 @@ usage()
echo ""
echo "Usage: ${BASH_SOURCE[0]} <OPTIONS> -- <test-release.sh OPTIONS>"
echo " e.g:"
echo " ${BASH_SOURCE[0]} --distro ubuntu --versions 20.04 --rocm-versions 5.0 5.1 -- --stgz /path/to/stgz/installer"
echo " ${BASH_SOURCE[0]} --distro ubuntu --versions 22.04 --rocm-versions 6.4 6.3 -- --stgz /path/to/stgz/installer"
}
send-error()
@@ -70,7 +70,7 @@ reset-last
: ${USER:=$(whoami)}
: ${DISTRO:=ubuntu}
: ${VERSIONS:=22.04 20.04}
: ${VERSIONS:=22.04}
: ${ROCM_VERSIONS:=6.2}
n=0