Skip to content

Commit

Permalink
github_ci: add more graviton3 images
Browse files Browse the repository at this point in the history
Add more test images for Graviton3 runners.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
  • Loading branch information
MatiasElo committed Sep 26, 2024
1 parent f820281 commit bcc823d
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ jobs:
fail-fast: false
matrix:
image: ['ubuntu_20.04-arm64-graviton3',
'ubuntu_20.04-arm64-graviton3-dpdk_19.11',
'ubuntu_20.04-arm64-graviton3-dpdk_20.11',
'ubuntu_20.04-arm64-graviton3-dpdk_21.11',
'ubuntu_20.04-arm64-graviton3-dpdk_22.11',
'ubuntu_20.04-arm64-graviton3-dpdk_23.11',
Expand Down
52 changes: 52 additions & 0 deletions ubuntu_20.04-arm64-graviton3-dpdk_19.11/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
FROM ubuntu:20.04

ENV DPDK_VERSION=v19.11.14 \
RTE_ARCH=arm64 \
RTE_TARGET=arm64-armv8a-linuxapp-gcc

RUN apt-get update

RUN apt-get install -yy --no-install-recommends \
software-properties-common \
dirmngr \
gnupg-agent

RUN apt-get update --fix-missing

RUN apt-get install -yy \
autoconf \
automake \
build-essential \
ccache \
clang \
gcc \
gcc-10 \
git \
iproute2 \
kmod \
libcli-dev \
libconfig-dev \
libcunit1-dev \
libibverbs-dev \
libnuma-dev \
libpcap-dev \
libssl-dev \
libstdc++-10-dev \
libtool \
make \
net-tools \
sudo

RUN cd $HOME && \
git clone http://dpdk.org/git/dpdk-stable --branch ${DPDK_VERSION} --depth 1 ./dpdk && \
cd dpdk && \
make config T=${RTE_TARGET} O=${RTE_TARGET} && \
cd ${RTE_TARGET} && \
sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config && \
sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_OPENSSL=).*,\1y,' .config && \
sed -ri 's,(CONFIG_RTE_EAL_IGB_UIO=).*,\1n,' .config && \
sed -ri 's,(CONFIG_RTE_KNI_KMOD=).*,\1n,' .config && \
cd .. && \
make -j $(nproc) install T=${RTE_TARGET} DESTDIR=/usr EXTRA_CFLAGS="-fPIC" && \
cd $HOME && \
rm -r ./dpdk
57 changes: 57 additions & 0 deletions ubuntu_20.04-arm64-graviton3-dpdk_20.11/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
FROM ubuntu:20.04

ENV DPDK_VERSION=v20.11.10 \
AARCH64_CRYPTOLIB_TAG=2445f0e

RUN apt-get update

RUN apt-get install -yy --no-install-recommends \
software-properties-common \
dirmngr \
gnupg-agent

RUN apt-get update --fix-missing

RUN apt-get install -yy \
autoconf \
automake \
ccache \
clang \
gcc \
gcc-10 \
git \
iproute2 \
kmod \
libcli-dev \
libconfig-dev \
libcunit1-dev \
libpcap-dev \
libssl-dev \
libstdc++-10-dev \
libtool \
make \
meson \
net-tools \
ninja-build \
python3-pip \
sudo

RUN cd $HOME && \
git clone http://dpdk.org/git/dpdk-stable --branch ${DPDK_VERSION} --depth 1 ./dpdk && \
cd dpdk && \
meson setup build && \
cd build && \
meson configure -Ddisable_apps=* && \
meson configure -Dtests=false && \
meson configure -Ddisable_drivers=baseband/*,event/*,raw/* && \
ninja install && \
ldconfig && \
cd $HOME && \
rm -r ./dpdk

RUN cd $HOME && \
git clone https://github.com/ARM-software/AArch64cryptolib --depth 1 ./aarch64cryptolib && \
cd aarch64cryptolib && \
git checkout ${AARCH64_CRYPTOLIB_TAG} && \
make OPT=big && \
cd -

0 comments on commit bcc823d

Please sign in to comment.