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 4885b7c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ 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/darwin-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
- name: Assert no files have changed
run: |
Expand Down

0 comments on commit 4885b7c

Please sign in to comment.