From 5284dc440ae2dda5b28fc74857e67b6b0c8ac421 Mon Sep 17 00:00:00 2001 From: Julius Michaelis Date: Mon, 1 Mar 2021 16:17:33 +0900 Subject: [PATCH] Fix 59b554499: Install llvm in lint workflow --- .github/workflows/lint.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 0d97220369a..d21985dad00 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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: |