From patchwork Sun Apr 30 22:42:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 13227334 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DD30DC77B7C for ; Sun, 30 Apr 2023 22:43:13 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.527891.820520 (Exim 4.92) (envelope-from ) id 1ptFkm-0001fm-2X; Sun, 30 Apr 2023 22:42:48 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 527891.820520; Sun, 30 Apr 2023 22:42:48 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ptFkl-0001fd-Vr; Sun, 30 Apr 2023 22:42:47 +0000 Received: by outflank-mailman (input) for mailman id 527891; Sun, 30 Apr 2023 22:42:46 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ptFkk-0001dl-C4 for xen-devel@lists.xenproject.org; Sun, 30 Apr 2023 22:42:46 +0000 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 4eb274d7-e7a8-11ed-8611-37d641c3527e; Mon, 01 May 2023 00:42:42 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B542E5C00A0; Sun, 30 Apr 2023 18:42:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 30 Apr 2023 18:42:37 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 30 Apr 2023 18:42:36 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 4eb274d7-e7a8-11ed-8611-37d641c3527e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1682894557; x=1682980957; bh=v2 Vi7FgEgNWCjyUl2feZ+z266kJ26xqC5Cqb4uQACSc=; b=E4U3sDTC6au7lRyETH 63MPUAdEiBt0XwlbbNo7uEOuD9zihvr+6ai76H6yQRNyj8j/0+AZKq9D4BTSECj9 dP6X/E4n/Y/C9UGskyKxGwEPOsy1whCEwa1OLCV/uELFuWvdstm/Yx4TqOrzUK08 9u7j/M3pKNSvEPdBTTMulMIoAwOKEZDJKKtYcRMgpwoMwtJxhtC2WRKfxMeqy9yS YrbLcqCmPeTWiUzZs2vHczaPzk7iYAnegxyzQOhcdsyfgLxfaf86mmqd1AqfWuhd y86LDiUF10ALwVtqqKfovqUuJgnb2C338IF8ncNfFG1q2IWcIOL8aB7pgm9BY33Z eIcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682894557; x=1682980957; bh=v2Vi7FgEgNWCjyUl2feZ+z266kJ26xqC5Cq b4uQACSc=; b=iGH9evVcNV1k9ggHEWeyVjxyQfEQFKAZkwih711T/Hty4cGhfcM sqnrLH556V8nwbQjhUcTnQSM4TezNWgUVAroa0xOSpfk01fxTFGA5DweEnF6GYUy U8qYPuXgxFhEoL/aRPLWXR+UywXM0ZqFA6doa6gRBDpWWhMl4tm4kBqKybKKZTs4 4I6huimvPmRCN70+GShjHupKaaAMTl6Yj2K+OIBZDybErjdoS5oDgk6HS60fnK7U LEPhqcaP8EGF4D2L67nKfaNaQxY7LsJ/EeMTuAIbALr7nEzGqnKq94fJQe6Hnb8j z9x50tkGzSHA50In48LJAwTRiFGyAof6GvA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedvfedgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforghr vghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesih hnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpeel fedtfefgfffghfevhfehvdeileehheffueekieetfeffhfetgefggfejudfggeenucffoh hmrghinhepghhithhlrggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepmhgrrhhmrghrvghksehinhhvihhsihgslhgvthhhihhngh hslhgrsgdrtghomh X-ME-Proxy: Feedback-ID: i1568416f:Fastmail From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Cc: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= , Doug Goldstein , Stefano Stabellini Subject: [PATCH v2 1/2] automation: move test artifacts jobs to the top Date: Mon, 1 May 2023 00:42:22 +0200 Message-Id: <1529fdbdd083aa64c2d234b7ee88206bec774972.1682894502.git-series.marmarek@invisiblethingslab.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Make them run earlier, so tests can start earlier in parallel to the build jobs. Signed-off-by: Marek Marczykowski-Górecki --- automation/gitlab-ci/build.yaml | 152 ++++++++++++++++----------------- 1 file changed, 76 insertions(+), 76 deletions(-) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index d323c30a8304..3f44902c44d0 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -236,6 +236,82 @@ variables: <<: *gcc +## Test artifacts common + +.test-jobs-artifact-common: + stage: build + except: !reference [.test-jobs-common, except] + +# Arm test artifacts + +alpine-3.12-arm64-rootfs-export: + extends: .test-jobs-artifact-common + image: registry.gitlab.com/xen-project/xen/tests-artifacts/alpine:3.12-arm64v8 + script: + - mkdir binaries && cp /initrd.tar.gz binaries/initrd.tar.gz + artifacts: + paths: + - binaries/initrd.tar.gz + tags: + - arm64 + +kernel-5.19-arm64-export: + extends: .test-jobs-artifact-common + image: registry.gitlab.com/xen-project/xen/tests-artifacts/kernel:5.19-arm64v8 + script: + - mkdir binaries && cp /Image binaries/Image + artifacts: + paths: + - binaries/Image + tags: + - arm64 + +qemu-system-aarch64-6.0.0-arm64-export: + extends: .test-jobs-artifact-common + image: registry.gitlab.com/xen-project/xen/tests-artifacts/qemu-system-aarch64:6.0.0-arm64v8 + script: + - mkdir binaries && cp /qemu-system-aarch64 binaries/qemu-system-aarch64 + artifacts: + paths: + - binaries/qemu-system-aarch64 + tags: + - arm64 + +qemu-system-aarch64-6.0.0-arm32-export: + extends: .test-jobs-artifact-common + image: registry.gitlab.com/xen-project/xen/tests-artifacts/qemu-system-aarch64:6.0.0-arm64v8 + script: + - mkdir binaries && cp /qemu-system-arm binaries/qemu-system-arm + artifacts: + paths: + - binaries/qemu-system-arm + tags: + - arm64 + +# x86_64 test artifacts + +alpine-3.12-rootfs-export: + extends: .test-jobs-artifact-common + image: registry.gitlab.com/xen-project/xen/tests-artifacts/alpine:3.12 + script: + - mkdir binaries && cp /initrd.tar.gz binaries/initrd.tar.gz + artifacts: + paths: + - binaries/initrd.tar.gz + tags: + - x86_64 + +kernel-6.1.19-export: + extends: .test-jobs-artifact-common + image: registry.gitlab.com/xen-project/xen/tests-artifacts/kernel:6.1.19 + script: + - mkdir binaries && cp /bzImage binaries/bzImage + artifacts: + paths: + - binaries/bzImage + tags: + - x86_64 + # Jobs below this line archlinux-gcc: @@ -705,79 +781,3 @@ debian-unstable-gcc-arm64-cppcheck: CONTAINER: debian:unstable-cppcheck CPPCHECK: y HYPERVISOR_ONLY: y - -## Test artifacts common - -.test-jobs-artifact-common: - stage: build - except: !reference [.test-jobs-common, except] - -# Arm test artifacts - -alpine-3.12-arm64-rootfs-export: - extends: .test-jobs-artifact-common - image: registry.gitlab.com/xen-project/xen/tests-artifacts/alpine:3.12-arm64v8 - script: - - mkdir binaries && cp /initrd.tar.gz binaries/initrd.tar.gz - artifacts: - paths: - - binaries/initrd.tar.gz - tags: - - arm64 - -kernel-5.19-arm64-export: - extends: .test-jobs-artifact-common - image: registry.gitlab.com/xen-project/xen/tests-artifacts/kernel:5.19-arm64v8 - script: - - mkdir binaries && cp /Image binaries/Image - artifacts: - paths: - - binaries/Image - tags: - - arm64 - -qemu-system-aarch64-6.0.0-arm64-export: - extends: .test-jobs-artifact-common - image: registry.gitlab.com/xen-project/xen/tests-artifacts/qemu-system-aarch64:6.0.0-arm64v8 - script: - - mkdir binaries && cp /qemu-system-aarch64 binaries/qemu-system-aarch64 - artifacts: - paths: - - binaries/qemu-system-aarch64 - tags: - - arm64 - -qemu-system-aarch64-6.0.0-arm32-export: - extends: .test-jobs-artifact-common - image: registry.gitlab.com/xen-project/xen/tests-artifacts/qemu-system-aarch64:6.0.0-arm64v8 - script: - - mkdir binaries && cp /qemu-system-arm binaries/qemu-system-arm - artifacts: - paths: - - binaries/qemu-system-arm - tags: - - arm64 - -# x86_64 test artifacts - -alpine-3.12-rootfs-export: - extends: .test-jobs-artifact-common - image: registry.gitlab.com/xen-project/xen/tests-artifacts/alpine:3.12 - script: - - mkdir binaries && cp /initrd.tar.gz binaries/initrd.tar.gz - artifacts: - paths: - - binaries/initrd.tar.gz - tags: - - x86_64 - -kernel-6.1.19-export: - extends: .test-jobs-artifact-common - image: registry.gitlab.com/xen-project/xen/tests-artifacts/kernel:6.1.19 - script: - - mkdir binaries && cp /bzImage binaries/bzImage - artifacts: - paths: - - binaries/bzImage - tags: - - x86_64 From patchwork Sun Apr 30 22:42:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= X-Patchwork-Id: 13227332 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 537B6C77B60 for ; Sun, 30 Apr 2023 22:43:10 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.527890.820506 (Exim 4.92) (envelope-from ) id 1ptFkg-0001De-R2; Sun, 30 Apr 2023 22:42:42 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 527890.820506; Sun, 30 Apr 2023 22:42:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ptFkg-0001Ck-MY; Sun, 30 Apr 2023 22:42:42 +0000 Received: by outflank-mailman (input) for mailman id 527890; Sun, 30 Apr 2023 22:42:42 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1ptFkg-00019p-3f for xen-devel@lists.xenproject.org; Sun, 30 Apr 2023 22:42:42 +0000 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 4f83c576-e7a8-11ed-b225-6b7b168915f2; Mon, 01 May 2023 00:42:39 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 229C95C009B; Sun, 30 Apr 2023 18:42:39 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 30 Apr 2023 18:42:39 -0400 Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 30 Apr 2023 18:42:37 -0400 (EDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 4f83c576-e7a8-11ed-b225-6b7b168915f2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= invisiblethingslab.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1682894559; x=1682980959; bh=NJ LqfqVgmi3zQgvQJ5K3XZAUDkzQPr1TvscaLzZrSXU=; b=YZ4Q3mc5CnUMF7RF0R 4WHC7rNFyxOYP9tAHcuOoWlE+1JqLOQMOmzFgpW3koTsXTUVRhEwvCGQxjOVwcm7 ENpeH/kct620U2hdRlXcrbYR6HXR5f7CG8mbIDsd6T6f7/05eYYcx91HsNlmy/hx YmrYQO3oJTBTAf+nJEVkHSLU6JrtrMus0cfYCKFdVl5XJ8mvLJk3tkWaEp9o5R7E zsLv4R1dq/OdcIEtN3eDxK/DBaqqKPZwbXBvWlO5rgnAV0WS39EFUJ5hZuRwdtO8 Kbqfvhrk9Z3LTf00KITQHecEnSvNwWa0xVsvV2FIV6U0ng2GxlpRQKQUbhfhQjcg Fd8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1682894559; x=1682980959; bh=NJLqfqVgmi3zQgvQJ5K3XZAUDkzQPr1Tvsc aLzZrSXU=; b=gi5mbo7vg7vITLcySDxpDghMzIbA6/U9WgbT6aQFeBAgFTvK5pU IpfezgtTjXuttKoBw72kDuX11FpU7HtU0Brbe0gCe3RmuDZzxfYg4aiQSyJXqKmK jxZ8oWK2ZOh4dfhPlz0IdpImDz4ivCwHuS9m9iqH8s4LVa7QLMW9HMAQgrn60QfZ IpPTC+Ah2E1G9jN2mxmuPZPpK+q9N2SQEYNyPPJWHtFTGF/+bkBxYcaSL5t6sryg ikckw+Y2j+mk+NIQ+XmIczOZa85mieen9cfBZtN0kSBh0picXGk8N49+o3mA5BVD jBg2ZZEUsb+znCwoEFPOxbo9X9TQXcWBbbQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedvfedgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpeforghr vghkucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesih hnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucggtffrrghtthgvrhhnpefg ueduhefgvdefheehudejheefudevueeghfekhfehleegveduteeuiedugffgffenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrmhgrrhgv khesihhnvhhishhisghlvghthhhinhhgshhlrggsrdgtohhm X-ME-Proxy: Feedback-ID: i1568416f:Fastmail From: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= To: xen-devel@lists.xenproject.org Cc: =?utf-8?q?Marek_Marczykowski-G=C3=B3recki?= , Doug Goldstein , Stefano Stabellini Subject: [PATCH v2 2/2] automation: optimize build jobs order Date: Mon, 1 May 2023 00:42:23 +0200 Message-Id: X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Put jobs that are needed for (any) test earlier, so the tests can start running in parallel to builds. This commits splits only x86 build jobs into two sections (one on top and one on bottom), but keep ARM build jobs in one section, as most of them have some test connected and the few that do not are not worth reducing readability of the file. Signed-off-by: Marek Marczykowski-Górecki --- automation/gitlab-ci/build.yaml | 462 ++++++++++++++++----------------- 1 file changed, 233 insertions(+), 229 deletions(-) diff --git a/automation/gitlab-ci/build.yaml b/automation/gitlab-ci/build.yaml index 3f44902c44d0..420ffa5acb47 100644 --- a/automation/gitlab-ci/build.yaml +++ b/automation/gitlab-ci/build.yaml @@ -314,252 +314,28 @@ kernel-6.1.19-export: # Jobs below this line -archlinux-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: archlinux:current +# Build jobs needed for tests -archlinux-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: archlinux:current - -centos-7-gcc: +alpine-3.12-gcc: extends: .gcc-x86-64-build variables: - CONTAINER: centos:7 + CONTAINER: alpine:3.12 -centos-7-gcc-debug: +alpine-3.12-gcc-debug: extends: .gcc-x86-64-build-debug variables: - CONTAINER: centos:7 - -debian-stretch-clang: - extends: .clang-x86-64-build - variables: - CONTAINER: debian:stretch - -debian-stretch-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: debian:stretch - -debian-stretch-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: debian:stretch + CONTAINER: alpine:3.12 debian-stretch-gcc-debug: extends: .gcc-x86-64-build-debug variables: CONTAINER: debian:stretch -debian-stretch-32-clang-debug: - extends: .clang-x86-32-build-debug - variables: - CONTAINER: debian:stretch-i386 - -debian-stretch-32-gcc-debug: - extends: .gcc-x86-32-build-debug - variables: - CONTAINER: debian:stretch-i386 - -debian-buster-gcc-ibt: - extends: .gcc-x86-64-build - variables: - CONTAINER: debian:buster-gcc-ibt - RANDCONFIG: y - EXTRA_FIXED_RANDCONFIG: | - CONFIG_XEN_IBT=y - -debian-unstable-clang: - extends: .clang-x86-64-build - variables: - CONTAINER: debian:unstable - debian-unstable-clang-debug: extends: .clang-x86-64-build-debug variables: CONTAINER: debian:unstable -debian-unstable-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: debian:unstable - -debian-unstable-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: debian:unstable - -debian-unstable-gcc-randconfig: - extends: .gcc-x86-64-build - variables: - CONTAINER: debian:unstable - RANDCONFIG: y - -debian-unstable-gcc-debug-randconfig: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: debian:unstable - RANDCONFIG: y - -debian-unstable-32-clang-debug: - extends: .clang-x86-32-build-debug - variables: - CONTAINER: debian:unstable-i386 - -debian-unstable-32-gcc-debug: - extends: .gcc-x86-32-build-debug - variables: - CONTAINER: debian:unstable-i386 - -fedora-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: fedora:29 - -fedora-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: fedora:29 - -# Ubuntu Trusty's Clang is 3.4 while Xen requires 3.5 - -ubuntu-trusty-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: ubuntu:trusty - -ubuntu-trusty-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: ubuntu:trusty - -ubuntu-xenial-clang: - extends: .clang-x86-64-build - variables: - CONTAINER: ubuntu:xenial - -ubuntu-xenial-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: ubuntu:xenial - -ubuntu-xenial-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: ubuntu:xenial - -ubuntu-xenial-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: ubuntu:xenial - -ubuntu-bionic-clang: - extends: .clang-x86-64-build - variables: - CONTAINER: ubuntu:bionic - -ubuntu-bionic-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: ubuntu:bionic - -ubuntu-bionic-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: ubuntu:bionic - -ubuntu-bionic-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: ubuntu:bionic - -ubuntu-focal-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: ubuntu:focal - -ubuntu-focal-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: ubuntu:focal - -ubuntu-focal-clang: - extends: .clang-x86-64-build - variables: - CONTAINER: ubuntu:focal - -ubuntu-focal-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: ubuntu:focal - -opensuse-leap-clang: - extends: .clang-x86-64-build - variables: - CONTAINER: suse:opensuse-leap - -opensuse-leap-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: suse:opensuse-leap - -opensuse-leap-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: suse:opensuse-leap - -opensuse-leap-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: suse:opensuse-leap - -opensuse-tumbleweed-clang: - extends: .clang-x86-64-build - variables: - CONTAINER: suse:opensuse-tumbleweed - allow_failure: true - -opensuse-tumbleweed-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: suse:opensuse-tumbleweed - allow_failure: true - -opensuse-tumbleweed-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: suse:opensuse-tumbleweed - allow_failure: true - -opensuse-tumbleweed-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: suse:opensuse-tumbleweed - allow_failure: true - -alpine-3.12-gcc: - extends: .gcc-x86-64-build - variables: - CONTAINER: alpine:3.12 - -alpine-3.12-gcc-debug: - extends: .gcc-x86-64-build-debug - variables: - CONTAINER: alpine:3.12 - -alpine-3.12-clang: - extends: .clang-x86-64-build - variables: - CONTAINER: alpine:3.12 - -alpine-3.12-clang-debug: - extends: .clang-x86-64-build-debug - variables: - CONTAINER: alpine:3.12 - # Arm32 cross-build debian-unstable-gcc-arm32: @@ -781,3 +557,231 @@ debian-unstable-gcc-arm64-cppcheck: CONTAINER: debian:unstable-cppcheck CPPCHECK: y HYPERVISOR_ONLY: y + +# Build jobs not needed for tests + +alpine-3.12-clang: + extends: .clang-x86-64-build + variables: + CONTAINER: alpine:3.12 + +alpine-3.12-clang-debug: + extends: .clang-x86-64-build-debug + variables: + CONTAINER: alpine:3.12 + +archlinux-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: archlinux:current + +archlinux-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: archlinux:current + +centos-7-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: centos:7 + +centos-7-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: centos:7 + +debian-stretch-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: debian:stretch + +debian-stretch-clang: + extends: .clang-x86-64-build + variables: + CONTAINER: debian:stretch + +debian-stretch-clang-debug: + extends: .clang-x86-64-build-debug + variables: + CONTAINER: debian:stretch + +debian-stretch-32-clang-debug: + extends: .clang-x86-32-build-debug + variables: + CONTAINER: debian:stretch-i386 + +debian-stretch-32-gcc-debug: + extends: .gcc-x86-32-build-debug + variables: + CONTAINER: debian:stretch-i386 + +debian-buster-gcc-ibt: + extends: .gcc-x86-64-build + variables: + CONTAINER: debian:buster-gcc-ibt + RANDCONFIG: y + EXTRA_FIXED_RANDCONFIG: | + CONFIG_XEN_IBT=y + +debian-unstable-clang: + extends: .clang-x86-64-build + variables: + CONTAINER: debian:unstable + +debian-unstable-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: debian:unstable + +debian-unstable-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: debian:unstable + +debian-unstable-gcc-randconfig: + extends: .gcc-x86-64-build + variables: + CONTAINER: debian:unstable + RANDCONFIG: y + +debian-unstable-gcc-debug-randconfig: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: debian:unstable + RANDCONFIG: y + +debian-unstable-32-clang-debug: + extends: .clang-x86-32-build-debug + variables: + CONTAINER: debian:unstable-i386 + +debian-unstable-32-gcc-debug: + extends: .gcc-x86-32-build-debug + variables: + CONTAINER: debian:unstable-i386 + +fedora-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: fedora:29 + +fedora-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: fedora:29 + +# Ubuntu Trusty's Clang is 3.4 while Xen requires 3.5 + +ubuntu-trusty-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: ubuntu:trusty + +ubuntu-trusty-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: ubuntu:trusty + +ubuntu-xenial-clang: + extends: .clang-x86-64-build + variables: + CONTAINER: ubuntu:xenial + +ubuntu-xenial-clang-debug: + extends: .clang-x86-64-build-debug + variables: + CONTAINER: ubuntu:xenial + +ubuntu-xenial-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: ubuntu:xenial + +ubuntu-xenial-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: ubuntu:xenial + +ubuntu-bionic-clang: + extends: .clang-x86-64-build + variables: + CONTAINER: ubuntu:bionic + +ubuntu-bionic-clang-debug: + extends: .clang-x86-64-build-debug + variables: + CONTAINER: ubuntu:bionic + +ubuntu-bionic-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: ubuntu:bionic + +ubuntu-bionic-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: ubuntu:bionic + +ubuntu-focal-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: ubuntu:focal + +ubuntu-focal-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: ubuntu:focal + +ubuntu-focal-clang: + extends: .clang-x86-64-build + variables: + CONTAINER: ubuntu:focal + +ubuntu-focal-clang-debug: + extends: .clang-x86-64-build-debug + variables: + CONTAINER: ubuntu:focal + +opensuse-leap-clang: + extends: .clang-x86-64-build + variables: + CONTAINER: suse:opensuse-leap + +opensuse-leap-clang-debug: + extends: .clang-x86-64-build-debug + variables: + CONTAINER: suse:opensuse-leap + +opensuse-leap-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: suse:opensuse-leap + +opensuse-leap-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: suse:opensuse-leap + +opensuse-tumbleweed-clang: + extends: .clang-x86-64-build + variables: + CONTAINER: suse:opensuse-tumbleweed + allow_failure: true + +opensuse-tumbleweed-clang-debug: + extends: .clang-x86-64-build-debug + variables: + CONTAINER: suse:opensuse-tumbleweed + allow_failure: true + +opensuse-tumbleweed-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: suse:opensuse-tumbleweed + allow_failure: true + +opensuse-tumbleweed-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: suse:opensuse-tumbleweed + allow_failure: true