Skip to content

Commit

Permalink
CI: use /tmp for $GOCACHE
Browse files Browse the repository at this point in the history
Point the compiler's build cache at /tmp.  This generally requires more
memory, but it's faster, and the build cache would be discarded anyway.

Signed-off-by: Nalin Dahyabhai <[email protected]>
  • Loading branch information
nalind committed Dec 4, 2024
1 parent 9cf7ba7 commit ebe486a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
DEST_BRANCH: "main"
GOPATH: "/var/tmp/go"
GOSRC: "${GOPATH}/src/github.com/containers/buildah"
GOCACHE: "/tmp/go-build"
# Overrides default location (/tmp/cirrus) for repo clone
CIRRUS_WORKING_DIR: "${GOSRC}"
# Shell used to execute all script commands
Expand Down

0 comments on commit ebe486a

Please sign in to comment.