Skip to content

Commit

Permalink
Fix 59b5544: Install llvm in lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jcaesar committed Mar 1, 2021
1 parent 1cd42ce commit 7eef4b6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@ jobs:
toolchain: 1.49
override: true
components: rustfmt, clippy
- name: Install LLVM (Linux)
run: |
curl --proto '=https' --tlsv1.2 -sSf https://github.com/wasmerio/llvm-custom-builds/releases/download/11.x/linux-amd64.tar.gz -L -o /opt/llvm.tar.xz
mkdir -p /opt/llvm-11
tar xf /opt/llvm.tar.xz --strip-components=1 -C /opt/llvm-11
echo '/opt/llvm-11/bin' >> $GITHUB_PATH
echo 'LLVM_SYS_110_PREFIX=/opt/llvm-11' >> $GITHUB_ENV
- run: make lint
env:
ENABLE_CRANELIFT: "1"
ENABLE_LLVM: "1"
ENABLE_SINGLEPASS: "1"
- name: Assert no files have changed
run: |
git status
Expand Down

0 comments on commit 7eef4b6

Please sign in to comment.