From patchwork Wed Jan 31 17:44:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 136235 X-Patchwork-Delegate: david.marchand@redhat.com 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 AA65243A22; Wed, 31 Jan 2024 18:44:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 97B24402ED; Wed, 31 Jan 2024 18:44:48 +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 BE3544026B for ; Wed, 31 Jan 2024 18:44:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706723087; 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=Kk56s/AsVM/D8Skr8dVCn0YQK1mxwkT4CUlZHBVjVgA=; b=MVoYp11LrOaiZssvx0ewKp+ujev9WJ2gej5nsDuv7d5IyA6b4kimWxFRp1xuowUI+yyJx0 qV7KNYYMzV0wQ/owEurfNVqoUfCiuKQ7gECUzO04ZSmbBwZaUGLIkQ8xQxw+yAhrDqAty+ hIPrMZNgopMN5QZn2iWxUbLPuLjmc74= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-606-wRMHTE-APHSEF0U2YHAImQ-1; Wed, 31 Jan 2024 12:44:45 -0500 X-MC-Unique: wRMHTE-APHSEF0U2YHAImQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 83A293C025D8; Wed, 31 Jan 2024 17:44:45 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.95]) by smtp.corp.redhat.com (Postfix) with ESMTP id BDEF5203D2A4; Wed, 31 Jan 2024 17:44:44 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Aaron Conole , Michael Santana Subject: [PATCH 1/2] ci: bump tested distributions in GHA Date: Wed, 31 Jan 2024 18:44:35 +0100 Message-ID: <20240131174437.2494815-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.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 Fedora 37 has reached end of life in December 2023. Ubuntu 20.04 is getting quite old. Switch to more recent versions. With this move, some packages provided by those distributions are now recent enough to extend our build coverage. Install additional dependencies like ipsec-mb, isal and other libbpf/libxdp devel packages. Signed-off-by: David Marchand Acked-by: Aaron Conole --- .github/workflows/build.yml | 54 ++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af514e9545..421207c241 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,37 +36,37 @@ jobs: fail-fast: false matrix: config: - - os: ubuntu-20.04 + - os: ubuntu-22.04 compiler: gcc mini: mini - - os: ubuntu-20.04 + - os: ubuntu-22.04 compiler: gcc checks: stdatomic - - os: ubuntu-20.04 + - os: ubuntu-22.04 compiler: clang checks: stdatomic - - os: ubuntu-20.04 + - os: ubuntu-22.04 compiler: gcc checks: abi+debug+doc+examples+tests - - os: ubuntu-20.04 + - os: ubuntu-22.04 compiler: clang checks: asan+doc+tests - - os: ubuntu-20.04 + - os: ubuntu-22.04 compiler: gcc library: static cross: i386 - - os: ubuntu-20.04 + - os: ubuntu-22.04 compiler: gcc library: static cross: mingw - - os: ubuntu-20.04 + - os: ubuntu-22.04 compiler: gcc library: shared cross: aarch64 - - os: ubuntu-20.04 + - os: ubuntu-22.04 compiler: gcc cross: ppc64le - - os: ubuntu-20.04 + - os: ubuntu-22.04 compiler: gcc cross: riscv64 @@ -105,10 +105,10 @@ jobs: - name: Update APT cache run: sudo apt update || true - name: Install packages - run: sudo apt install -y ccache libarchive-dev libbsd-dev libfdt-dev - libibverbs-dev libjansson-dev libnuma-dev libpcap-dev libssl-dev - ninja-build pkg-config python3-pip python3-pyelftools python3-setuptools - python3-wheel zlib1g-dev + run: sudo apt install -y ccache libarchive-dev libbsd-dev libbpf-dev + libfdt-dev libibverbs-dev libipsec-mb-dev libisal-dev libjansson-dev + libnuma-dev libpcap-dev libssl-dev ninja-build pkg-config python3-pip + python3-pyelftools python3-setuptools 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 @@ -162,7 +162,7 @@ jobs: fail-fast: false matrix: config: - - image: fedora:37 + - image: fedora:39 steps: - name: Generate various keys @@ -187,11 +187,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 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 + run: docker exec -i dpdk dnf install -y ccache intel-ipsec-mb-devel + isa-l-devel jansson-devel libarchive-devel libatomic libbsd-devel + libbpf-devel libfdt-devel libpcap-devel libxdp-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: | @@ -211,9 +211,9 @@ jobs: fail-fast: false matrix: config: - - image: fedora:37 + - image: fedora:39 compiler: gcc - - image: fedora:37 + - image: fedora:39 compiler: clang steps: @@ -262,11 +262,11 @@ jobs: - name: Update run: docker exec -i dpdk dnf update -y || true - name: Install packages - run: docker exec -i dpdk dnf install -y ccache jansson-devel - libarchive-devel libatomic libbsd-devel libxdp-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 intel-ipsec-mb-devel + isa-l-devel jansson-devel libarchive-devel libatomic libbsd-devel + libbpf-devel libfdt-devel libpcap-devel libxdp-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