From patchwork Tue Dec 13 15:07:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 120837 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 42135A0540; Tue, 13 Dec 2022 16:07:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E319A40146; Tue, 13 Dec 2022 16:07:20 +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 59F67400D5 for ; Tue, 13 Dec 2022 16:07:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670944038; 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=zNEvBGc0BnQRIT63JXFokJHHF/0xIu4bhFvjK0wUPs8=; b=euPukw8ajiXHyiMvjKEFKPI5O4B8MWRCgrAqsU/j7Oit2FWegyikhJuZfPPXjMFe5v3d06 isWvhIWEOEtXpMRvTd0pEyKPz+5J70NwgY4byvJ53CI1X5c+tv6c6i4baD9KdIbPv2vQKk 6ZvF12x/1xIS/v+DGl6fFHWCv1UTHyY= 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-643-TATVjv0KPzGqboSeTF9GQA-1; Tue, 13 Dec 2022 10:07:17 -0500 X-MC-Unique: TATVjv0KPzGqboSeTF9GQA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EC5CB802549; Tue, 13 Dec 2022 15:07:16 +0000 (UTC) Received: from dmarchan.redhat.com (ovpn-192-233.brq.redhat.com [10.40.192.233]) by smtp.corp.redhat.com (Postfix) with ESMTP id B3129C15BA0; Tue, 13 Dec 2022 15:07:15 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Honnappa.Nagarahalli@arm.com, thomas@monjalon.net, Aaron Conole , Michael Santana Subject: [PATCH] ci: drop Travis configuration Date: Tue, 13 Dec 2022 16:07:10 +0100 Message-Id: <20221213150710.130473-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 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 We stopped using Travis in the main branch and in the public CI in favor of GHA more than a year ago. The UNH community lab now covers testing native compilation and unit tests for ARM platforms. We decided to stop maintaining the configuration in our repository with the argument that "if it is not tested, it is broken". Signed-off-by: David Marchand Acked-by: Ferruh Yigit Acked-by: Aaron Conole --- .ci/linux-build.sh | 19 --- .travis.yml | 172 ---------------------------- MAINTAINERS | 1 - devtools/check-spdx-tag.sh | 2 +- doc/guides/contributing/patches.rst | 4 - 5 files changed, 1 insertion(+), 197 deletions(-) delete mode 100644 .travis.yml diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index 5225dc71c4..ab0994388a 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -9,25 +9,6 @@ fi # Builds are run as root in containers, no need for sudo [ "$(id -u)" != '0' ] || alias sudo= -on_error() { - if [ $? = 0 ]; then - exit - fi - FILES_TO_PRINT="build/meson-logs/testlog.txt" - FILES_TO_PRINT="$FILES_TO_PRINT build/.ninja_log" - FILES_TO_PRINT="$FILES_TO_PRINT build/meson-logs/meson-log.txt" - FILES_TO_PRINT="$FILES_TO_PRINT build/gdb.log" - - for pr_file in $FILES_TO_PRINT; do - if [ -e "$pr_file" ]; then - cat "$pr_file" - fi - done -} -# We capture the error logs as artifacts in Github Actions, no need to dump -# them via a EXIT handler. -[ -n "$GITHUB_WORKFLOW" ] || trap on_error EXIT - install_libabigail() { version=$1 instdir=$2 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0936788dc7..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,172 +0,0 @@ -# default values for all jobs -language: c -cache: - ccache: true - directories: - - libabigail - - reference - -dist: bionic - -os: linux - -addons: - apt: - update: true - packages: &required_packages - - [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] - -_aarch64_packages: &aarch64_packages - - *required_packages - - [gcc-aarch64-linux-gnu, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu] - -_aarch64_clang_packages: &aarch64_clang_packages - - *required_packages - - [libgcc-7-dev-arm64-cross, libatomic1-arm64-cross, libc6-dev-arm64-cross, pkg-config-aarch64-linux-gnu] - -_libabigail_build_packages: &libabigail_build_packages - - [autoconf, automake, libtool, pkg-config, libxml2-dev, libdw-dev] - -_build_32b_packages: &build_32b_packages - - *required_packages - - [gcc-multilib] - -_doc_packages: &doc_packages - - [doxygen, graphviz, python3-sphinx] - -before_install: ./.ci/${TRAVIS_OS_NAME}-setup.sh -script: ./.ci/${TRAVIS_OS_NAME}-build.sh - -env: - global: - - LIBABIGAIL_VERSION=libabigail-2.1 - - REF_GIT_REPO=https://dpdk.org/git/dpdk-stable - - REF_GIT_TAG=v22.11.1 - -jobs: - include: - # x86_64 gcc jobs - - env: DEF_LIB="static" - arch: amd64 - compiler: gcc - - env: DEF_LIB="shared" RUN_TESTS=true - arch: amd64 - compiler: gcc - - env: DEF_LIB="shared" BUILD_DOCS=true - arch: amd64 - compiler: gcc - addons: - apt: - packages: - - *required_packages - - *doc_packages - - env: DEF_LIB="shared" ABI_CHECKS=true - arch: amd64 - compiler: gcc - addons: - apt: - packages: - - *required_packages - - *libabigail_build_packages - # x86_64 clang jobs - - env: DEF_LIB="static" - arch: amd64 - compiler: clang - - env: DEF_LIB="shared" RUN_TESTS=true - arch: amd64 - compiler: clang - - env: DEF_LIB="shared" BUILD_DOCS=true - arch: amd64 - compiler: clang - addons: - apt: - packages: - - *required_packages - - *doc_packages - # x86_64 cross-compiling 32-bits jobs - - env: DEF_LIB="static" BUILD_32BIT=true - arch: amd64 - compiler: gcc - addons: - apt: - packages: - - *build_32b_packages - # x86_64 cross-compiling aarch64 jobs - - env: DEF_LIB="static" AARCH64=true - arch: amd64 - compiler: gcc - addons: - apt: - packages: - - *aarch64_packages - - env: DEF_LIB="shared" AARCH64=true - arch: amd64 - compiler: gcc - addons: - apt: - packages: - - *aarch64_packages - - env: DEF_LIB="static" AARCH64=true - arch: amd64 - compiler: clang - addons: - apt: - packages: - - *aarch64_clang_packages - - env: DEF_LIB="shared" AARCH64=true - arch: amd64 - compiler: clang - addons: - apt: - packages: - - *aarch64_clang_packages - # aarch64 gcc jobs - - env: DEF_LIB="static" - dist: focal - arch: arm64-graviton2 - virt: vm - group: edge - compiler: gcc - - env: DEF_LIB="shared" RUN_TESTS=true - dist: focal - arch: arm64-graviton2 - virt: vm - group: edge - compiler: gcc - - env: DEF_LIB="shared" BUILD_DOCS=true - dist: focal - arch: arm64-graviton2 - virt: vm - group: edge - compiler: gcc - addons: - apt: - packages: - - *required_packages - - *doc_packages - - env: DEF_LIB="shared" ABI_CHECKS=true - dist: focal - arch: arm64-graviton2 - virt: vm - group: edge - compiler: gcc - addons: - apt: - packages: - - *required_packages - - *libabigail_build_packages - # aarch64 clang jobs - - env: DEF_LIB="static" - dist: focal - arch: arm64-graviton2 - virt: vm - group: edge - compiler: clang - - env: DEF_LIB="shared" RUN_TESTS=true - dist: focal - arch: arm64-graviton2 - virt: vm - group: edge - compiler: clang diff --git a/MAINTAINERS b/MAINTAINERS index 3dc3f5b348..9a0f416d2e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -131,7 +131,6 @@ F: devtools/check-meson.py Public CI M: Aaron Conole M: Michael Santana -F: .travis.yml F: .github/workflows/build.yml F: .ci/ diff --git a/devtools/check-spdx-tag.sh b/devtools/check-spdx-tag.sh index 89b2d643a4..7624778a8c 100755 --- a/devtools/check-spdx-tag.sh +++ b/devtools/check-spdx-tag.sh @@ -20,7 +20,7 @@ check_spdx() { echo "--------------------------" fi git grep -L SPDX-License-Identifier -- \ - ':^.git*' ':^.mailmap' ':^.ci/*' ':^.travis.yml' \ + ':^.git*' ':^.mailmap' ':^.ci/*' \ ':^README' ':^MAINTAINERS' ':^VERSION' ':^ABI_VERSION' \ ':^*/Kbuild' ':^*/README' \ ':^license/' ':^config/' ':^buildtools/' ':^*/poetry.lock' \ diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst index b3eaf7df03..e286d9e6d5 100644 --- a/doc/guides/contributing/patches.rst +++ b/doc/guides/contributing/patches.rst @@ -35,10 +35,6 @@ It is also worth registering for the DPDK `Patchwork `_ for further information.