Skip to content

Commit

Permalink
Merge pull request #291 from phiggins/test-trunk-build-nothing-to-see…
Browse files Browse the repository at this point in the history
…-here

Update sccache to 0.2.15 to fix ubuntu-latest builds on CI
  • Loading branch information
phiggins authored May 23, 2021
2 parents 474c53b + adf8c7b commit 0a97d5f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/2.6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,14 @@ jobs:
- if: runner.os == 'Linux'
run: |
sudo apt-get install -y shellcheck build-essential ruby-dev bison
curl -L https://github.com/mozilla/sccache/releases/download/0.2.13/sccache-0.2.13-x86_64-unknown-linux-musl.tar.gz | tar xz
sudo cp $PWD/sccache-0.2.13-x86_64-unknown-linux-musl/sccache /usr/bin
SCCACHE_VERSION=0.2.15
SCCACHE_FILE=sccache-v$SCCACHE_VERSION-x86_64-unknown-linux-musl
mkdir -p $HOME/.local/bin
curl -L "https://github.com/mozilla/sccache/releases/download/v$SCCACHE_VERSION/$SCCACHE_FILE.tar.gz" | tar xz
chmod +x $SCCACHE_FILE/sccache
mv -f $SCCACHE_FILE/sccache $HOME/.local/bin/sccache
echo "$HOME/.local/bin" >> $GITHUB_PATH
- if: runner.os == 'macOS'
run: |
rustup component add clippy --toolchain stable-x86_64-apple-darwin
Expand Down

0 comments on commit 0a97d5f

Please sign in to comment.