Update workflow runners due to the deprecation of ubuntu-20.04 runners (#102)
* Update runners to `ubuntu-latest`.
The `ubuntu-20.04` runner is deprecated and will be removed.
* Add 'vim' and 'perfetto' to CI docker images
For convenience when using the images locally.
[ROCm/rocprofiler-systems commit: a25554359b]
This commit is contained in:
@@ -29,9 +29,9 @@ RUN zypper --non-interactive update -y && \
|
||||
zypper --non-interactive install -y -t pattern devel_basis && \
|
||||
zypper --non-interactive install -y binutils-gold cmake curl dpkg-devel \
|
||||
gcc-c++ git libnuma-devel openmpi3-devel papi-devel python3-pip \
|
||||
rpm-build wget && \
|
||||
rpm-build vim wget && \
|
||||
zypper --non-interactive clean --all && \
|
||||
python3 -m pip install 'cmake==3.21'
|
||||
python3 -m pip install 'cmake==3.21' perfetto
|
||||
|
||||
COPY ./dyninst-source /tmp/dyninst
|
||||
|
||||
|
||||
@@ -20,10 +20,9 @@ ARG NJOBS="8"
|
||||
RUN yum groupinstall -y "Development Tools" && \
|
||||
yum install -y epel-release && crb enable && \
|
||||
yum install -y --allowerasing cmake curl dpkg-devel numactl-devel \
|
||||
openmpi-devel papi-devel python3-pip texinfo wget which zlib-devel && \
|
||||
openmpi-devel papi-devel python3-pip texinfo wget which vim zlib-devel && \
|
||||
yum clean all && \
|
||||
python3 -m pip install 'cmake==3.21' && \
|
||||
python3 -m pip install 'perfetto'
|
||||
python3 -m pip install 'cmake==3.21' perfetto
|
||||
|
||||
COPY ./dyninst-source /tmp/dyninst
|
||||
|
||||
|
||||
@@ -28,12 +28,12 @@ RUN apt-get update && \
|
||||
apt-get install -y autoconf autotools-dev bash-completion bison build-essential \
|
||||
bzip2 cmake curl environment-modules flex gettext git-core gnupg2 gzip \
|
||||
libiberty-dev libpapi-dev libpfm4-dev libtool locales lsb-release m4 \
|
||||
python3-pip texinfo unzip wget zip zlib1g-dev && \
|
||||
python3-pip 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' \
|
||||
python3 -m pip install --break-system-packages 'cmake==3.21' perfetto \
|
||||
else \
|
||||
python3 -m pip install 'cmake==3.21'; \
|
||||
python3 -m pip install 'cmake==3.21' perfetto; \
|
||||
fi
|
||||
|
||||
COPY ./dyninst-source /tmp/dyninst
|
||||
|
||||
Reference in New Issue
Block a user