message: Use brew for installing LLVM in macOS big sur
diff: @@ -62,7 +62,7 @@ jobs:
  - build: windows-x64
  os: windows-latest
  rust: 1.48
  - llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/10.x/windows-amd64.tar.gz'
  + # llvm_url: 'https://github.com/wasmerio/llvm-custom-builds/releases/download/10.x/windows-amd64.tar.gz'
  artifact_name: 'wasmer-windows-amd64'
  cross_compilation_artifact_name: 'cross_compiled_from_win'
  run_integration_tests: true
  @@ -92,12 +92,16 @@ jobs:
  target: ${{ matrix.target }}
  override: true
  - name: Install LLVM (Windows)
  - if: matrix.os == 'windows-latest'
  + if: matrix.os == 'windows-latest' && !matrix.llvm_url
  shell: cmd
  run: |
  choco install llvm
  + - name: Install LLVM (macOS Apple Silicon)
  + if: matrix.os == 'macos-11.0' && !matrix.llvm_url
  + run: |
  + brew install llvm
  - name: Install LLVM
  - if: matrix.os != 'windows-latest' && matrix.os != 'macos-11.0'
  + if: matrix.llvm_url
  shell: bash
  run: |
  curl --proto '=https' --tlsv1.2 -sSf ${{ matrix.llvm_url }} -L -o llvm.tar.gz
  