build: try letting cmake take care of meson and ninja.

This commit is contained in:
chyyran 2023-02-06 01:42:43 -05:00
parent 3cdf3aa105
commit 9a898f2cba
3 changed files with 4 additions and 5 deletions

View file

@ -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
View file

@ -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",

View file

@ -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
```