Skip to content

Commit

Permalink
actions: install libclang for windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mcginty authored Feb 15, 2021
1 parent 4dd8d5f commit 9259c0b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Install LLVM and Clang
if: startsWith(matrix.os, 'windows')
uses: KyleMayes/install-llvm-action@v1
with:
version: "11.0"
directory: ${{ runner.temp }}/llvm
- name: Set LIBCLANG_PATH
if: startsWith(matrix.os, 'windows')
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
- name: Run tests
run: bash ./ci-tests.sh

0 comments on commit 9259c0b

Please sign in to comment.