message: Try to install LLVM
diff: @@ -59,12 +59,34 @@ jobs:
  toolchain: ${{ matrix.rust }}
  override: true
  - run: make test
  +
  + - name: Install LLVM (Windows)
  + if: matrix.os == 'windows-latest'
  + run: |
  + curl https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/LLVM-10.0.0-win64.exe -o llvm-installer.exe
  + 7z x llvm-installer.exe -oC:/llvm-10
  + echo ::add-path::C:/llvm-10/bin
  + echo ::set-env name=LLVM_SYS_100_PREFIX::C:/llvm-10
  + - name: Install LLVM (macOS)
  + if: matrix.os == 'macos-latest'
  + run: |
  + curl https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-apple-darwin.tar.xz -o llvm.tar.xz
  + tar xf llvm.tar.xz -C /opt/llvm-10
  + echo ::add-path::/opt/llvm-10/bin
  + echo ::set-env name=LLVM_SYS_100_PREFIX::/opt/llvm-10
  + - name: Install LLVM (Linux)
  + if: matrix.os == 'ubuntu-latest'
  + run: |
  + curl https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz -o llvm.tar.xz
  + tar xf llvm.tar.xz -C /opt/llvm-10
  + echo ::add-path::/opt/llvm-10/bin
  + echo ::set-env name=LLVM_SYS_100_PREFIX::/opt/llvm-10
  - name: Set up dependencies for Mac OS
  run: brew install automake
  if: matrix.os == 'macos-latest'
  - - name: Set up dependencies for Windows
  - run: choco install llvm
  - if: matrix.os == 'windows-latest'
  + # - name: Set up dependencies for Windows
  + # run: choco install llvm
  + # if: matrix.os == 'windows-latest'
  - name: Build and Test C API
  run: |
  make capi
  