From patchwork Thu Dec 15 09:19:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 120934 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 375F8A0543; Thu, 15 Dec 2022 10:19:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 20D9F40684; Thu, 15 Dec 2022 10:19:55 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 37DD040223 for ; Thu, 15 Dec 2022 10:19:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671095993; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V0HaDNJU+pLBNpWu4RIdhQSV+5U7Kjoj5erb2du4EyQ=; b=FJ9XhOZHI4QVdeNVT+30tQio/R2a6RW8hh66bgJQgFV9yK+Gxi3mKYserq40GY0gCvUc/u ABGPpKczjWrvItJYRnyKLk2/mw1T/Dh7xmN1oplJawf1ZAR+OAhQtR94BBfH6OgKnQNKVU ie7yzBX4AqZW8KsXFCzVk+ypEYfYKN0= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-621-CIDqe9cZO--xBxnbaKMbVg-1; Thu, 15 Dec 2022 04:19:52 -0500 X-MC-Unique: CIDqe9cZO--xBxnbaKMbVg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A4E6B29ABA1B; Thu, 15 Dec 2022 09:19:51 +0000 (UTC) Received: from dmarchan.redhat.com (ovpn-193-109.brq.redhat.com [10.40.193.109]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9D9932026D68; Thu, 15 Dec 2022 09:19:50 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Aaron Conole , Michael Santana Subject: [PATCH 1/2] ci: sort packages Date: Thu, 15 Dec 2022 10:19:46 +0100 Message-Id: <20221215091947.167691-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This list is hard to read. Updating it has been done in an inconsistent way: container based and vm based builds do not have the same coverage. Prefer alphabetical order. Signed-off-by: David Marchand --- Note: I will likely squash this patch with the second one, but it is easier to review in this form. --- .github/workflows/build.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6bad94098e..de9a28608c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,14 +93,14 @@ jobs: - name: Update APT cache run: sudo apt update || true - name: Install packages - run: sudo apt install -y ccache libnuma-dev python3-setuptools - python3-wheel python3-pip python3-pyelftools ninja-build libbsd-dev - libpcap-dev libibverbs-dev libcrypto++-dev libfdt-dev libjansson-dev - libarchive-dev + run: sudo apt install -y ccache libarchive-dev libbsd-dev libcrypto++-dev + libfdt-dev libibverbs-dev libjansson-dev libnuma-dev libpcap-dev + ninja-build python3-pip python3-pyelftools python3-setuptools + python3-wheel - 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 libtool pkg-config libxml2-dev - libdw-dev + run: sudo apt install -y autoconf automake libdw-dev libtool libxml2-dev + pkg-config - name: Install i386 cross compiling packages if: env.BUILD_32BIT == 'true' run: sudo apt install -y gcc-multilib g++-multilib @@ -174,10 +174,10 @@ 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 numactl-devel - python3-setuptools python3-wheel python3-pip python3-pyelftools - ninja-build libatomic libbpf-devel libfdt-devel libpcap-devel - openssl-devel rdma-core-devel zlib-devel + 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 - name: Save image in cache if: steps.image_cache.outputs.cache-hit != 'true' run: | @@ -248,10 +248,10 @@ jobs: - name: Update run: docker exec -i dpdk dnf update -y || true - name: Install packages - run: docker exec -i dpdk dnf install -y ccache numactl-devel - python3-setuptools python3-wheel python3-pip python3-pyelftools - ninja-build libatomic libbpf-devel libfdt-devel libpcap-devel - openssl-devel rdma-core-devel zlib-devel ${{ matrix.config.compiler }} + 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 }} - name: Run setup run: docker exec -i dpdk .ci/linux-setup.sh - name: Build From patchwork Thu Dec 15 09:19:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 120935 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 04B5CA0543; Thu, 15 Dec 2022 10:20:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB26D40A8A; Thu, 15 Dec 2022 10:19:59 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 1A60A40223 for ; Thu, 15 Dec 2022 10:19:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671095998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9tN7SStf7p4wmU3je2tiaCB9X8Jc20cJw2c87iIE8Yo=; b=avncFw1X4j9Bt+wr5C6KmLHTF/n2sEl5RvSfVj1z82CE+5MhAmQLZ8Pcapfl+gqKjMXVT/ LzzeWMAyaFxuMk3QSiOEo1KcgorGiuuicBoncxRHYxBYsKTmjh0nLbXx3UKO4vYC06HGLF rpp3ZelAvERL2iqD/7ViuK91muLjQgU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-646-mCxF8tg6OhGMkGLms9a_YQ-1; Thu, 15 Dec 2022 04:19:55 -0500 X-MC-Unique: mCxF8tg6OhGMkGLms9a_YQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 263758027F8; Thu, 15 Dec 2022 09:19:55 +0000 (UTC) Received: from dmarchan.redhat.com (ovpn-193-109.brq.redhat.com [10.40.193.109]) by smtp.corp.redhat.com (Postfix) with ESMTP id 047ED492C14; Thu, 15 Dec 2022 09:19:53 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Aaron Conole , Michael Santana Subject: [PATCH 2/2] ci: align Ubuntu and Fedora build coverage Date: Thu, 15 Dec 2022 10:19:47 +0100 Message-Id: <20221215091947.167691-2-david.marchand@redhat.com> In-Reply-To: <20221215091947.167691-1-david.marchand@redhat.com> References: <20221215091947.167691-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 --- .github/workflows/build.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) 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