Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Brad King
rust-git-workarea
Commits
52c4b873
Commit
52c4b873
authored
Nov 01, 2019
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab-ci: add script to download sccache
parent
1dd0e253
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
.gitlab/ci/sccache.sh
.gitlab/ci/sccache.sh
+16
-0
No files found.
.gitlab/ci/sccache.sh
0 → 100755
View file @
52c4b873
#!/bin/sh
set
-e
readonly
version
=
"0.2.12"
readonly sha256sum
=
"26fd04c1273952cc2a0f359a71c8a1857137f0ee3634058b3f4a63b69fc8eb7f"
readonly
filename
=
"sccache-
$version
-x86_64-unknown-linux-musl"
readonly
tarball
=
"
$filename
.tar.gz"
cd
.gitlab
echo
"
$sha256sum
$tarball
"
>
sccache.sha256sum
curl
-OL
"https://github.com/mozilla/sccache/releases/download/
$version
/
$tarball
"
sha256sum
--check
sccache.sha256sum
tar
xf
"
$tarball
"
mv
"
$filename
/sccache"
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment