Skip to content

Commit

Permalink
Cross-build on Fedora
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
cevich committed Jun 5, 2024
1 parent 509b4b5 commit a9e5a14
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a9e5a14

Please sign in to comment.