Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
85253ddc
Verified
Commit
85253ddc
authored
2 years ago
by
Bryan R
Browse files
Options
Downloads
Patches
Plain Diff
Cache brew and the things it installs
parent
6db1410b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci.yml
.gitlab/brew.sh
+5
-4
5 additions, 4 deletions
.gitlab/brew.sh
with
8 additions
and
4 deletions
.gitlab-ci.yml
+
3
−
0
View file @
85253ddc
...
...
@@ -100,6 +100,9 @@ build-aarch64-darwin:
expire_in
:
2 week
paths
:
-
out/*
cache
:
paths
:
-
.brew
build-x86_64-windows
:
extends
:
.build
...
...
This diff is collapsed.
Click to expand it.
.gitlab/brew.sh
+
5
−
4
View file @
85253ddc
...
...
@@ -6,10 +6,11 @@ set -Eeuo pipefail
# FIXME: Use brew in supported way. See
# https://docs.brew.sh/Installation#untar-anywhere-unsupported
brew_dir
=
"
${
CI_PROJECT_DIR
}
/.brew"
# Temporarily? ensure there's no caching accidentally happening.
rm
-fr
"
${
brew_dir
}
"
mkdir
-p
"
${
brew_dir
}
"
curl
-L
"https://github.com/Homebrew/brew/archive/refs/tags/
${
BREW_VERSION
}
.tar.gz"
|
tar
xz
--strip
1
-C
"
${
brew_dir
}
"
if
[
!
-e
"
${
brew_dir
}
"
]
;
then
mkdir
-p
"
${
brew_dir
}
"
curl
-L
"https://github.com/Homebrew/brew/archive/refs/tags/
${
BREW_VERSION
}
.tar.gz"
|
tar
xz
--strip
1
-C
"
${
brew_dir
}
"
fi
export
PATH
=
"
${
brew_dir
}
/bin:
${
brew_dir
}
/sbin:
$PATH
"
...
...
This diff is collapsed.
Click to expand it.
Bryan R
@chreekat
mentioned in commit
4e7f6738
·
2 years ago
mentioned in commit
4e7f6738
mentioned in commit 4e7f673805f9f3d727e550eab3857c7b063d1b65
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment