From owner-dev-commits-src-branches@freebsd.org Tue Aug 31 13:42:55 2021 Return-Path: Delivered-To: dev-commits-src-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7070566F5AE; Tue, 31 Aug 2021 13:42:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GzT0H2nz1z3txT; Tue, 31 Aug 2021 13:42:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3D4CA13000; Tue, 31 Aug 2021 13:42:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17VDgtQv045756; Tue, 31 Aug 2021 13:42:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17VDgtp5045755; Tue, 31 Aug 2021 13:42:55 GMT (envelope-from git) Date: Tue, 31 Aug 2021 13:42:55 GMT Message-Id: <202108311342.17VDgtp5045755@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: d43cd27f0694 - stable/11 - Add Cirrus CI config file to support CI builds MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/11 X-Git-Reftype: branch X-Git-Commit: d43cd27f0694cbde3b5787c0f101a0fd07e53125 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the stable branches of the FreeBSD src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Aug 2021 13:42:55 -0000 The branch stable/11 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=d43cd27f0694cbde3b5787c0f101a0fd07e53125 commit d43cd27f0694cbde3b5787c0f101a0fd07e53125 Author: Ed Maste AuthorDate: 2020-03-19 18:17:43 +0000 Commit: Ed Maste CommitDate: 2021-08-31 00:48:13 +0000 Add Cirrus CI config file to support CI builds Also followup commits: r346121: Cirrus-CI: pass OVMF env var to test script for upcoming changes r350302: cirrus.yml: use OVMF.fd from uefi-edk2-qemu-x86_64 package r350449: cirrus.yml: stop fetching OVMF.fd now that we're using the pkg r356867: Cirrus-CI: bump VM image to FreeBSD 12.1 Sponsored by: The FreeBSD Foundation (cherry picked from commit 9ce187bf83c0593d9639662417923f0e054c19d3) Cirrus-CI: use FreeBSD 12.2 image Direct commit to stable/12 as main has other changes here, using the llvm package to avoid building the toolchain. (cherry picked from commit 046f91f21ac619f7307a8e853f863ded4df7f322) Cirrus-CI: avoid boot smoke test on stable/12 The boot smoke test boots from a FAT filesystem (created in-memory by QEMU), but this does not work on stable/12: mountroot: waiting for device /dev/ada0s1... Mounting from msdosfs:/dev/ada0s1 failed with error 19. For now on stable/12 use Cirrus-CI as only a build test. Sponsored by: The FreeBSD Foundation (cherry picked from commit 05b9673637feedb3ef0cf51fd9b7e914b08f7554) Cirrus-CI: Add descriptive task name Previously it appeared only as "main" in places like GitHub's list of checks run as part of a pull request. MFC after: 1 week Sponsored by: The FreeBSD Foundation (cherry picked from commit 903526542ac2309c08c769e517ea173a9f67cdb2) "boot smoke test" dropped from task name for the MFC, because Cirrus runs a build test only on stable/12 (see 05b9673637fe for details). (cherry picked from commit 20c918af7a3de84a6fc7d840a712fc4aa4dcdb69) --- .cirrus.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 000000000000..356125f7d7b1 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,22 @@ +# $FreeBSD$ + +freebsd_instance: + image: freebsd-12-2-release-amd64 + cpu: 8 + memory: 24G + +env: + CIRRUS_CLONE_DEPTH: 1 + +task: + name: World and kernel amd64 build test + timeout_in: 90m + install_script: + - pkg install -y qemu-devel uefi-edk2-qemu-x86_64 + script: + - make -j$(sysctl -n hw.ncpu) WITHOUT_TOOLCHAIN=yes buildworld buildkernel +# FAT root fs fails on stable/12: +# Mounting from msdosfs:/dev/ada0s1 failed with error 19. +# +# test_script: +# - sh tools/boot/ci-qemu-test.sh