build: try letting cmake take care of meson and ninja.
This commit is contained in:
parent
3cdf3aa105
commit
9a898f2cba
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -39,8 +39,6 @@ jobs:
|
|||
name: Setup Python
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- run: pip install meson ninja mako
|
||||
name: Install Meson for spirv-to-dxil-sys
|
||||
- name: Build dynamic library
|
||||
run: cargo post build --release --package librashader-capi
|
||||
- name: Upload build artifacts
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -1687,9 +1687,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "spirv-to-dxil-sys"
|
||||
version = "0.2.2"
|
||||
version = "0.2.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "59c84aff6e149d1e6b6dfe178360a9ee5250c92abc691210e5db093a98d8f357"
|
||||
checksum = "2a5fb60ed3db4f27a7cf2a1a17f08d1bd4db3b6d76e419b6e8763b9f39fecd85"
|
||||
dependencies = [
|
||||
"bindgen",
|
||||
"cmake",
|
||||
|
|
|
@ -38,7 +38,8 @@ loads the librashader (`librashader.so` or `librashader.dll`) implementation in
|
|||
|
||||
### Building
|
||||
|
||||
For Rust projects, simply add the crate to your `Cargo.toml`
|
||||
For Rust projects, simply add the crate to your `Cargo.toml`. Python may also be required to build some dependent libraries.
|
||||
|
||||
```
|
||||
cargo add librashader
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue