[2/2] ci: align Ubuntu and Fedora build coverage

Message ID 20221215091947.167691-2-david.marchand@redhat.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series [1/2] ci: sort packages |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/iol-broadcom-Functional fail Functional Testing issues
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/Intel-compilation success Compilation OK
ci/github-robot: build success github build: passed
ci/intel-Testing success Testing PASS
ci/iol-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS

Commit Message

David Marchand Dec. 15, 2022, 9:19 a.m. UTC
  Some dependencies were missing for builds in those two environments:
- for Ubuntu 20.04: libssl-dev, zlib1g-dev,
- for Fedora 35: libarchive-devel, libbsd-devel, jansson-devel,

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 .github/workflows/build.yml | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)
  

Comments

Thomas Monjalon Feb. 6, 2023, 11:26 a.m. UTC | #1
15/12/2022 10:19, David Marchand:
> Some dependencies were missing for builds in those two environments:
> - for Ubuntu 20.04: libssl-dev, zlib1g-dev,
> - for Fedora 35: libarchive-devel, libbsd-devel, jansson-devel,
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>

Series applied, thanks.
  

Patch

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index de9a28608c..154be70cc1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -93,10 +93,10 @@  jobs:
     - name: Update APT cache
       run: sudo apt update || true
     - name: Install packages
-      run: sudo apt install -y ccache libarchive-dev libbsd-dev libcrypto++-dev
-        libfdt-dev libibverbs-dev libjansson-dev libnuma-dev libpcap-dev
+      run: sudo apt install -y ccache libarchive-dev libbsd-dev libfdt-dev
+        libibverbs-dev libjansson-dev libnuma-dev libpcap-dev libssl-dev
         ninja-build python3-pip python3-pyelftools python3-setuptools
-        python3-wheel
+        python3-wheel zlib1g-dev
     - name: Install libabigail build dependencies if no cache is available
       if: env.ABI_CHECKS == 'true' && steps.libabigail-cache.outputs.cache-hit != 'true'
       run: sudo apt install -y autoconf automake libdw-dev libtool libxml2-dev
@@ -174,10 +174,11 @@  jobs:
       run: docker exec -i dpdk dnf update -y
     - name: Install packages
       if: steps.image_cache.outputs.cache-hit != 'true'
-      run: docker exec -i dpdk dnf install -y ccache libatomic libbpf-devel
-        libfdt-devel libpcap-devel ninja-build numactl-devel openssl-devel
-        python3-pip python3-pyelftools python3-setuptools python3-wheel
-        rdma-core-devel zlib-devel
+      run: docker exec -i dpdk dnf install -y ccache jansson-devel
+        libarchive-devel libatomic libbsd-devel libbpf-devel libfdt-devel
+        libpcap-devel ninja-build numactl-devel openssl-devel python3-pip
+        python3-pyelftools python3-setuptools python3-wheel rdma-core-devel
+        zlib-devel
     - name: Save image in cache
       if: steps.image_cache.outputs.cache-hit != 'true'
       run: |
@@ -248,10 +249,12 @@  jobs:
     - name: Update
       run: docker exec -i dpdk dnf update -y || true
     - name: Install packages
-      run: docker exec -i dpdk dnf install -y ccache libatomic libbpf-devel
-        libfdt-devel libpcap-devel ninja-build numactl-devel openssl-devel
-        python3-pip python3-pyelftools python3-setuptools python3-wheel
-        rdma-core-devel zlib-devel ${{ matrix.config.compiler }}
+      run: docker exec -i dpdk dnf install -y ccache jansson-devel
+        libarchive-devel libatomic libbsd-devel libbpf-devel libfdt-devel
+        libpcap-devel ninja-build numactl-devel openssl-devel python3-pip
+        python3-pyelftools python3-setuptools python3-wheel rdma-core-devel
+        zlib-devel
+        ${{ matrix.config.compiler }}
     - name: Run setup
       run: docker exec -i dpdk .ci/linux-setup.sh
     - name: Build