mirror of
https://github.com/encounter/lzokay-rs.git
synced 2025-10-19 07:25:47 +00:00
ci: install-llvm-action never updated v2
This commit is contained in:
parent
09c01faf07
commit
c1d28b9ab7
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -17,10 +17,10 @@ jobs:
|
|||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
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@v2
|
uses: KyleMayes/install-llvm-action@v2.0.8
|
||||||
if: matrix.platform == 'windows-latest'
|
if: matrix.platform == 'windows-latest'
|
||||||
with:
|
with:
|
||||||
version: 20.1.8
|
version: 21.1.3
|
||||||
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
|
||||||
|
@ -70,7 +70,7 @@ mod bindings {
|
|||||||
pub type c_ushort = ::std::os::raw::c_ushort;
|
pub type c_ushort = ::std::os::raw::c_ushort;
|
||||||
pub type c_uint = ::std::os::raw::c_uint;
|
pub type c_uint = ::std::os::raw::c_uint;
|
||||||
pub type c_int = ::std::os::raw::c_int;
|
pub type c_int = ::std::os::raw::c_int;
|
||||||
pub type c_ulong = ::std::os::raw::c_ulong;
|
pub type c_ulong = usize;
|
||||||
}
|
}
|
||||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user