git: 612f254c8246 - main - Cirrus-CI: move QEMU pkg installation to test script

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Wed, 07 Sep 2022 17:32:57 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=612f254c82468d037fccb6c26dc0a7e37a73a53e

commit 612f254c82468d037fccb6c26dc0a7e37a73a53e
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-09-07 14:12:37 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-09-07 17:32:12 +0000

    Cirrus-CI: move QEMU pkg installation to test script
    
    Occasionally the QEMU package fails to build and isn't available on
    -CURRENT using the Latest package set.  Move the package installation
    to the test script, so that if the package isn't available we at least
    still perform a build test.
    
    Sponsored by:   The FreeBSD Foundation
---
 .cirrus.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.cirrus.yml b/.cirrus.yml
index 4b4517b1afb5..83e1bd33292c 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -31,7 +31,7 @@ task:
       TOOLCHAIN_PKG: amd64-gcc9
   timeout_in: 120m
   install_script:
-  - sh .cirrus-ci/pkg-install.sh qemu-nox11 ${TOOLCHAIN_PKG}
+  - sh .cirrus-ci/pkg-install.sh ${TOOLCHAIN_PKG}
   setup_script:
   - uname -a
   - df -m
@@ -44,6 +44,7 @@ task:
   package_script:
   - su user -c "make CROSS_TOOLCHAIN=${TOOLCHAIN_PKG} WITHOUT_TOOLCHAIN=yes PKG_FORMAT=tar packages"
   test_script:
+  - sh .cirrus-ci/pkg-install.sh qemu-nox11
   - sh tools/boot/ci-qemu-test.sh
   post_script:
   - df -m