Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Sep 18, 2024
1 parent 456baf0 commit d2d5da3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dev/ci/setup-sccache
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@ set -e

ARCH="$1"

echo "PATH=/usr/local/libexec/sccache:$PATH" >> "$GITHUB_ENV"
echo "PATH=/usr/local/libexec/sccache:/usr/local/bin:$PATH" >> "$GITHUB_ENV"
echo "SCCACHE_ERROR_LOG=$(tty)" >> "$GITHUB_ENV"

set -x

wget --output-document sccache.tar.gz "https://github.com/mozilla/sccache/releases/download/v0.8.1/sccache-v0.8.1-$ARCH.tar.gz"
tar xzf sccache.tar.gz
rm sccache.tar.gz
sudo mv sccache* /usr/local/bin/sccache
sudo mv sccache*/sccache /usr/local/bin/sccache
rm -rf sccache*

mkdir -p /usr/local/libexec/sccache
sudo mkdir -p /usr/local/libexec/sccache
sudo ln -s /usr/local/bin/sccache /usr/local/libexec/sccache/cc
sudo ln -s /usr/local/bin/sccache /usr/local/libexec/sccache/c++

SCCACHE_START_SERVER=1 sccache
SCCACHE_START_SERVER=1 sccache

0 comments on commit d2d5da3

Please sign in to comment.