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 5284dc4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ 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 llvm.tar.xz
mkdir -p /opt/llvm-11
tar xf llvm.tar.xz --strip-components=1 -C /opt/llvm-11
rm llvm.tar.gz
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 5284dc4

Please sign in to comment.