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 1151742CA4; Tue, 13 Jun 2023 10:17:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F2E740A8A; Tue, 13 Jun 2023 10:17:51 +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 1B31740698 for ; Tue, 13 Jun 2023 10:17:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686644269; 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=Pu8wFpU7q/6bSh4Z4eb/ZqbcDPH9X6CfzA6OLlCRw7o=; b=Mj6ZriAe08vIlb3ZYCpACp3dWThz7ekADdEpHnHKOPkHGrDipzkh6Ot2/JY6OJrm9Nfq00 5brubns5Xt5jBYsxiet0NqRqHRdmG95iFAtRfqSAd03EqqnAYmNzXTsU4B5BlqviJxWPns qF+UCDkvzoENAZ3fJ9T0dnGj1s8VXjc= 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-622-wQ4XoB-ZOWKR7j10ek-Hog-1; Tue, 13 Jun 2023 04:17:48 -0400 X-MC-Unique: wQ4XoB-ZOWKR7j10ek-Hog-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 EDA9E1C07246; Tue, 13 Jun 2023 08:17:47 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.225.83]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3B247C1604C; Tue, 13 Jun 2023 08:17:46 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com Subject: [PATCH 0/4] Test examples compilation externally Date: Tue, 13 Jun 2023 10:17:37 +0200 Message-Id: <20230613081741.4083273-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 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). -- 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 | 25 ++++++++++++++++++- .github/workflows/build.yml | 6 ++--- devtools/test-meson-builds.sh | 14 +++++++++++ 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, 53 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