From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CF4A542CAB; Tue, 13 Jun 2023 16:07:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDDB140C35; Tue, 13 Jun 2023 16:07:00 +0200 (CEST) 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 CAAFD40A8A for ; Tue, 13 Jun 2023 16:06:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686665219; 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=gZEZ7j+erS0b7fN5edRft6ymPdfc5rKfTvitpO3Etzw=; b=NYuZVSxt4I5ihTcW4Xf6EF0ZynJYg+K+9aQyutuOOhZ1GGvUDatJM669PE7pz9Tmvaco5Q 1v07FyOo4g/rQxgWPi8ti8TTe55CVgjpzE/75eb/mVBbyUOBNNdDmtUrHmf7zE6EJkgVVU nuN8Tc7sYcENXjcfUDapKWz6fli/EWA= 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-378-GlyqLPPWOYyu8GkjtDys0w-1; Tue, 13 Jun 2023 10:06:52 -0400 X-MC-Unique: GlyqLPPWOYyu8GkjtDys0w-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 863F28030DD; Tue, 13 Jun 2023 14:06:40 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.225.83]) by smtp.corp.redhat.com (Postfix) with ESMTP id 99C99492C1B; Tue, 13 Jun 2023 14:06:39 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com Subject: [PATCH v2 0/4] Test examples compilation externally Date: Tue, 13 Jun 2023 16:06:31 +0200 Message-Id: <20230613140635.975187-1-david.marchand@redhat.com> In-Reply-To: <20230613081741.4083273-1-david.marchand@redhat.com> References: <20230613081741.4083273-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 As DPDK provides examples compiled with makefiles, we need some tests in the CI. So far, a few maintainers have been testing them but a simple issue has been missed for some time and there was no way to try to build all examples that were built with meson. Additionnally, this series can help in identify issues in public headers that the current headers check can not catch as it relies on the meson framework for finding headers include path (which points at sources). Changes since v1: - reworked built examples discovery, -- David Marchand David Marchand (4): examples/fips_validation: fix external build examples/server_node_efd: simplify build configuration devtools: build all examples externally ci: build examples externally .ci/linux-build.sh | 27 ++++++++++++++++++- .github/workflows/build.yml | 6 ++--- devtools/test-meson-builds.sh | 16 +++++++++++ doc/guides/sample_app_ug/server_node_efd.rst | 14 +++++----- examples/fips_validation/Makefile | 2 ++ examples/meson.build | 4 +-- examples/server_node_efd/Makefile | 2 +- .../{node => efd_node}/Makefile | 0 .../{node => efd_node}/meson.build | 2 -- .../server_node_efd/{node => efd_node}/node.c | 0 .../{server => efd_server}/Makefile | 0 .../{server => efd_server}/args.c | 0 .../{server => efd_server}/args.h | 0 .../{server => efd_server}/init.c | 0 .../{server => efd_server}/init.h | 0 .../{server => efd_server}/main.c | 0 .../{server => efd_server}/meson.build | 2 -- 17 files changed, 57 insertions(+), 18 deletions(-) rename examples/server_node_efd/{node => efd_node}/Makefile (100%) rename examples/server_node_efd/{node => efd_node}/meson.build (95%) rename examples/server_node_efd/{node => efd_node}/node.c (100%) rename examples/server_node_efd/{server => efd_server}/Makefile (100%) rename examples/server_node_efd/{server => efd_server}/args.c (100%) rename examples/server_node_efd/{server => efd_server}/args.h (100%) rename examples/server_node_efd/{server => efd_server}/init.c (100%) rename examples/server_node_efd/{server => efd_server}/init.h (100%) rename examples/server_node_efd/{server => efd_server}/main.c (100%) rename examples/server_node_efd/{server => efd_server}/meson.build (94%) -- 2.40.1