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.
此提交包含在:
@@ -23,7 +23,7 @@ jobs:
|
||||
rocprofiler-systems-ci:
|
||||
if: github.repository == 'ROCm/rocprofiler-systems'
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@@ -78,7 +78,7 @@ jobs:
|
||||
rocprofiler-systems-release:
|
||||
if: github.repository == 'ROCm/rocprofiler-systems'
|
||||
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
@@ -28,7 +28,7 @@ env:
|
||||
jobs:
|
||||
installers:
|
||||
if: github.repository == 'ROCm/rocprofiler-systems'
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
||||
@@ -39,7 +39,7 @@ env:
|
||||
|
||||
jobs:
|
||||
opensuse:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: dgaliffiamd/rocprofiler-systems:ci-base-opensuse-${{ matrix.os-release }}
|
||||
strategy:
|
||||
|
||||
@@ -17,7 +17,7 @@ env:
|
||||
jobs:
|
||||
release:
|
||||
if: github.repository == 'ROCm/rocprofiler-systems'
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
|
||||
@@ -39,7 +39,7 @@ env:
|
||||
|
||||
jobs:
|
||||
ubuntu-jammy-external:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: dgaliffiamd/rocprofiler-systems:ci-base-ubuntu-22.04
|
||||
strategy:
|
||||
|
||||
@@ -39,7 +39,7 @@ env:
|
||||
|
||||
jobs:
|
||||
ubuntu-noble:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: dgaliffiamd/rocprofiler-systems:ci-base-ubuntu-24.04
|
||||
strategy:
|
||||
|
||||
@@ -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
|
||||
|
||||
新增問題並參考
封鎖使用者