From a9e5a1496d30511c42300a84341189ed5a226e37 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Wed, 5 Jun 2024 14:51:53 -0400 Subject: [PATCH] Cross-build on Fedora Executing a golang cross-compile on an expensive resource such as a Mac has questionable overall value. Switch to running on a default Fedora VM instead. Signed-off-by: Chris Evich --- .cirrus.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 2e0ccc5292b..c77c330cb30 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -137,15 +137,9 @@ cross_build_task: alias: cross_build only_if: >- $CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' - - osx_instance: - image: ghcr.io/cirruslabs/macos-ventura-base:latest - + env: + HOME: /root script: - - brew update - - brew install go - - brew install go-md2man - - brew install gpgme - go version - make cross CGO_ENABLED=0