mirror of
https://github.com/encounter/lzokay-rs.git
synced 2025-06-30 18:33:32 +00:00
Fix platform check in workflow
This commit is contained in:
parent
a24507ff1e
commit
0a7f63db04
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -18,13 +18,13 @@ jobs:
|
||||
steps:
|
||||
- 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
|
||||
if: matrix.config.platform == 'windows-latest'
|
||||
if: matrix.platform == 'windows-latest'
|
||||
with:
|
||||
version: 12.0.1
|
||||
directory: ${{ runner.temp }}/llvm
|
||||
- name: Set LIBCLANG_PATH
|
||||
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
|
||||
with:
|
||||
submodules: recursive
|
||||
|
Loading…
x
Reference in New Issue
Block a user