message: Fix LLVM installation on Windows
diff: @@ -253,12 +253,14 @@ jobs:
  - name: Install LLVM
  shell: bash
  run: |
  - choco install llvm --version ${{ env.LLVM_VERSION }} --allow-downgrade
  - cd 'C:\Program Files\LLVM\'
  - LLVM_DIR=$(pwd)
  + LLVM_DIR=$(pwd)/${{ env.LLVM_DIR }}
  + mkdir -p ${LLVM_DIR}
  + curl --proto '=https' --tlsv1.2 -sSf "${{ env.LLVM_URL }}" -L -o - | tar xJv -C ${LLVM_DIR}
  + echo "${LLVM_DIR}/bin" >> $GITHUB_PATH
  echo "LLVM_SYS_120_PREFIX=${LLVM_DIR}" >> $GITHUB_ENV
  env:
  - LLVM_VERSION: 13.0.0
  + LLVM_DIR: .llvm
  + LLVM_URL: https://github.com/wasmerio/llvm-custom-builds/releases/download/13.x/llvm-windows-amd64.tar.xz
  - name: cargo xtask build-wasmer
  run: |
  cargo build-wasmer
  @@ -521,12 +523,14 @@ jobs:
  - name: Install LLVM
  shell: bash
  run: |
  - choco install llvm --version ${{ env.LLVM_VERSION }} --allow-downgrade
  - cd 'C:\Program Files\LLVM\'
  - LLVM_DIR=$(pwd)
  + LLVM_DIR=$(pwd)/${{ env.LLVM_DIR }}
  + mkdir -p ${LLVM_DIR}
  + curl --proto '=https' --tlsv1.2 -sSf "${{ env.LLVM_URL }}" -L -o - | tar xJv -C ${LLVM_DIR}
  + echo "${LLVM_DIR}/bin" >> $GITHUB_PATH
  echo "LLVM_SYS_120_PREFIX=${LLVM_DIR}" >> $GITHUB_ENV
  env:
  - LLVM_VERSION: 13.0.0
  + LLVM_DIR: .llvm
  + LLVM_URL: https://github.com/wasmerio/llvm-custom-builds/releases/download/13.x/llvm-windows-amd64.tar.xz
  - name: cargo xtask test-wasmer
  run: |
  cargo test-wasmer
  