🔧 Generate scripts with cmake

This commit is contained in:
2020-10-19 12:48:06 +00:00
committed by GitHub
parent ce83235137
commit 76a08be0ef
12 changed files with 48 additions and 16 deletions

View File

@@ -1,8 +1,7 @@
#!/bin/bash
set -eu
cd /tmp/
mkdir -p /tmp/sccache
lastversion mozilla/sccache --assets --filter linux -d
tar xvzf $(find . -name "sccache-*.tar.gz") --strip 1 -C /tmp/sccache
install -m 755 /tmp/sccache/sccache /usr/local/bin/
wget "https://github.com/mozilla/sccache/releases/download/0.2.13/sccache-0.2.13-x86_64-unknown-linux-musl.tar.gz" -nv -O /tmp/sccache.tar.gz
tar xvzf /tmp/sccache.tar.gz --strip 1 -C /tmp/sccache
install -m 755 /tmp/sccache/sccache /usr/local/bin/