Fix platform check in workflow
This commit is contained in:
parent
a24507ff1e
commit
0a7f63db04
|
@ -18,13 +18,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Install LLVM and Clang # required for bindgen to work, see https://github.com/rust-lang/rust-bindgen/issues/1797
|
- name: Install LLVM and Clang # required for bindgen to work, see https://github.com/rust-lang/rust-bindgen/issues/1797
|
||||||
uses: KyleMayes/install-llvm-action@v1
|
uses: KyleMayes/install-llvm-action@v1
|
||||||
if: matrix.config.platform == 'windows-latest'
|
if: matrix.platform == 'windows-latest'
|
||||||
with:
|
with:
|
||||||
version: 12.0.1
|
version: 12.0.1
|
||||||
directory: ${{ runner.temp }}/llvm
|
directory: ${{ runner.temp }}/llvm
|
||||||
- name: Set LIBCLANG_PATH
|
- name: Set LIBCLANG_PATH
|
||||||
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
|
run: echo "LIBCLANG_PATH=$((gcm clang).source -replace "clang.exe")" >> $env:GITHUB_ENV
|
||||||
if: matrix.config.platform == 'windows-latest'
|
if: matrix.platform == 'windows-latest'
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
Loading…
Reference in New Issue