create symlink to sccache to prevent path problems

This commit is contained in:
Anton-4 2020-12-23 12:04:26 +01:00
parent 93716639ae
commit 4848d74acc
2 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@ on: [pull_request]
name: CI
env:
RUSTC_WRAPPER: ./ci/sccache
RUSTC_WRAPPER: /usr/local/bin/sccache
jobs:
test:
@ -13,11 +13,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: ./ci/sccache -V
- name: Install CI Libraries
run: sudo ./ci/install-ci-libraries.sh 10
- run: sccache -V
- name: Run Zig tests
run: pushd compiler/builtins/bitcode; ./run-tests.sh; popd;
@ -72,4 +72,4 @@ jobs:
command: test
args: --release
- run: ./ci/sccache --show-stats
- run: sccache --show-stats

View File

@ -79,3 +79,6 @@ valgrind --version
wget -c https://ziglang.org/builds/zig-linux-x86_64-0.6.0+0088efc4b.tar.xz --no-check-certificate
tar -xf zig-linux-x86_64-0.6.0+0088efc4b.tar.xz
ln -s "$PWD/zig-linux-x86_64-0.6.0+0088efc4b/zig" /usr/local/bin/zig
# create link to sccache to prevent current working dir problems
ln -s ./ci/sccache /usr/local/bin/sccache