mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
create symlink to sccache to prevent path problems
This commit is contained in:
parent
93716639ae
commit
4848d74acc
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user