mirror of
https://github.com/roc-lang/roc.git
synced 2024-10-27 02:40:53 +03:00
Enable LLD on CI
This commit is contained in:
parent
8a0411e1f2
commit
9067ca5a57
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -12,6 +12,9 @@ jobs:
|
||||
- name: Install LLVM
|
||||
run: sudo ./ci/install-llvm.sh 8
|
||||
|
||||
- name: Enable LLD
|
||||
run: sudo ./ci/enable-lld.sh
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
name: Install Rust Toolchain
|
||||
with:
|
||||
|
6
ci/enable-lld.sh
Executable file
6
ci/enable-lld.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p $HOME/.cargo
|
||||
echo -e "[build]\nrustflags = [\"-C\", \"link-arg=-fuse-ld=lld\"]" > $HOME/.cargo/config
|
||||
|
||||
ln -s /usr/bin/lld-8 /usr/local/bin/ld.lld
|
Loading…
Reference in New Issue
Block a user