From nobody Tue Feb 10 06:07:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of _spf.google.com designates 209.85.128.44 as permitted sender) client-ip=209.85.128.44; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wm1-f44.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.44 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1620797870; cv=none; d=zohomail.com; s=zohoarc; b=e1m6efxkgySu6MxibFWzA+M+Zq1uRO1GK8POFOPk3Co7bCXMijJ65o4p1i2TGZkAL8993pJsSoDCSfctKhrw+gYpqx0ihdiYvAuEJzPKd1QGAfS7odp3AE3KFCRHRYL/eBJVMsdo/awyPmZeUMhA4UwfybIytJ8+Q+k3ez+sWxg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620797870; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Sender:Subject:To; bh=h2VdBYXj2r7JhlOGwI/fnubAf5eKc/fp9EiRl43x/fg=; b=nmKNvkKxcqwuej9Zf81nMO9S0DYLyhgNi/TC7IA22Nwb4RQwm/Ruw17vjOaFpc9gyI/X4Zn2X0ice3LeHdlcFKhyzssnfZcrt0ZmSRmzUOjVBq43bCJAe08ZNmBDZHCPwOPCxH4RLe1PkIAy1h1o1d7Ls93FqSP6O78et5s6Tg8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of _spf.google.com designates 209.85.128.44 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mx.zohomail.com with SMTPS id 1620797870977904.7887337806089; Tue, 11 May 2021 22:37:50 -0700 (PDT) Received: by mail-wm1-f44.google.com with SMTP id o6-20020a05600c4fc6b029015ec06d5269so2378823wmq.0 for ; Tue, 11 May 2021 22:37:50 -0700 (PDT) Return-Path: Return-Path: Received: from localhost.localdomain (39.red-81-40-121.staticip.rima-tde.net. [81.40.121.39]) by smtp.gmail.com with ESMTPSA id x16sm3400869wrp.6.2021.05.11.22.37.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 May 2021 22:37:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h2VdBYXj2r7JhlOGwI/fnubAf5eKc/fp9EiRl43x/fg=; b=BfLJF1J9odSFulzQ18Eya8AAMw55QCfCn61Mk8I/mSvubKG+A57FjfOD+SxUIThvJ7 qsCChxcMZIbSyYpejncRkMT97dibdJJ2WHzS5j3iF6uKiFZ7z0RNMMiC3ki8EfF2csgq 1wuAX+9YwcDMsYRWRfvfdiKH6hxu87Kj4RSyKK8w84n1MyqfF8wwFI26ay+ZUNIzUpJn gZkghppihav696JSYb70IYWcWs1ly49m1tcSWkBRQidCBQGUX1kZD+Sg3bLSjqqMKP5g 6oKmmdQsx6MkdOhuthmx5QgXdcnouXoMtQFIjONiRpBCcKbzTSOTWkoW9pWj4Hir3+Aj 97Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=h2VdBYXj2r7JhlOGwI/fnubAf5eKc/fp9EiRl43x/fg=; b=IlhRtOlYlxz98cr2ovt93ROwjV37xOwnfeBwr65LblcnwNdApec3juuCqOk588F3MY nFGRMUBHLNMcE2d48yoiVGyJ/czZzanwpIu6UOaYrLsysxkyOpcr1dY57XiacjeJlIme PhOh/XTGdogS76IXRWZ5kqzXL2Vo4BMgF8vKuaz5UYZnWKHkPEHheG99RAD5Zx21MMJ1 Eh/Sw/7EAV/o3icTeITbNxsWWjqwrI4ERUrsTD4P02fPGwkef4rrrlEp9FZfskvKn0ny ZzUyra/hKvzGAStRbEBS5NhyjCKjgzDQaJKynx/yx4wgM6nHcCIqS45skuX8nxyQv0rb aqJQ== X-Gm-Message-State: AOAM530/BG2aDO6jzYY8OceMzUn1MrtDEE2e+J8g1GUvCqwC30ysBDk0 j+o+/k05lskdbhd2saK3CxE= X-Google-Smtp-Source: ABdhPJwtYPWfY0lOhFM8xEpOcKk/sBWpun9sbZ9GFBm2+Gxmp0+b1KHcHCZ0uwq9jx9k35TLjbgeqA== X-Received: by 2002:a7b:cc15:: with SMTP id f21mr9551118wmh.86.1620797869224; Tue, 11 May 2021 22:37:49 -0700 (PDT) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Kyle Evans , Wainer dos Santos Moschetta , Willian Rampazzo , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Thomas Huth , Warner Losh Subject: [PATCH v2 6/6] gitlab-ci: Add FreeBSD jobs Date: Wed, 12 May 2021 07:37:14 +0200 Message-Id: <20210512053714.3268162-7-f4bug@amsat.org> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210512053714.3268162-1-f4bug@amsat.org> References: <20210512053714.3268162-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) Add system/user emulation jobs on FreeBSD host. To build these jobs, you need to add a FreeBSD runner and add 'freebsd' to the QEMU_CUSTOM_RUNNER variable in your GitLab project. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- .gitlab-ci.d/buildtest-freebsd.yml | 59 ++++++++++++++++++++++++++++++ .gitlab-ci.d/qemu-project.yml | 1 + 2 files changed, 60 insertions(+) create mode 100644 .gitlab-ci.d/buildtest-freebsd.yml diff --git a/.gitlab-ci.d/buildtest-freebsd.yml b/.gitlab-ci.d/buildtest-fr= eebsd.yml new file mode 100644 index 00000000000..683e815afbf --- /dev/null +++ b/.gitlab-ci.d/buildtest-freebsd.yml @@ -0,0 +1,59 @@ +include: + - local: '/.gitlab-ci.d/buildtest-template.yml' + +.runner_freebsd_template: + rules: + # To enable thss job template, add 'freebsd' to the QEMU_CUSTOM_RUNNER + # variable in your project UI via Settings -> CI/CD -> Variables + # https://docs.gitlab.com/ee/ci/variables/README.html#project-cicd-var= iables + - if: $QEMU_CUSTOM_RUNNER =3D~ /freebsd/ + when: always + - when: never + tags: + - freebsd + +build-user-freebsd: + extends: + - .runner_freebsd_template + - .native_build_job_template + image: + variables: + MAKE_CHECK_ARGS: check-build + CONFIGURE_ARGS: --disable-system --python=3D/usr/local/bin/python3.7 + +build-system-freebsd: + extends: + - .runner_freebsd_template + - .native_build_job_template + image: + variables: + TARGETS: aarch64-softmmu avr-softmmu hppa-softmmu ppc64-softmmu + riscv64-softmmu s390x-softmmu x86_64-softmmu + MAKE_CHECK_ARGS: check-build + CONFIGURE_ARGS: --enable-trace-backends=3Dlog,simple,syslog + --python=3D/usr/local/bin/python3.7 + artifacts: + expire_in: 2 days + paths: + - .git-submodule-status + - build + +check-system-freebsd: + extends: + - .runner_freebsd_template + - .native_test_job_template + needs: + - job: build-system-freebsd + artifacts: true + variables: + MAKE_CHECK_ARGS: check + +acceptance-system-freebsd: + extends: + - .runner_freebsd_template + - .integration_test_job_template + needs: + - job: build-system-freebsd + artifacts: true + variables: + MAKE_CHECK_ARGS: check-acceptance diff --git a/.gitlab-ci.d/qemu-project.yml b/.gitlab-ci.d/qemu-project.yml index 64cb2ba1da5..5dcf1d34c5b 100644 --- a/.gitlab-ci.d/qemu-project.yml +++ b/.gitlab-ci.d/qemu-project.yml @@ -8,4 +8,5 @@ include: - local: '/.gitlab-ci.d/containers.yml' - local: '/.gitlab-ci.d/crossbuilds.yml' - local: '/.gitlab-ci.d/buildtest.yml' + - local: '/.gitlab-ci.d/buildtest-freebsd.yml' - local: '/.gitlab-ci.d/static_checks.yml' --=20 2.26.3