forked from GitHub/bdwgc-rust
Test build on CI
This commit is contained in:
@@ -8,3 +8,6 @@ jobs:
|
||||
- run: git submodule update --init --recursive
|
||||
- run: cargo build
|
||||
- run: cd examples && ./test.sh
|
||||
- run: |
|
||||
git clean -dfx
|
||||
cargo build --no-default-features --features cmake
|
||||
|
||||
@@ -15,5 +15,5 @@ default = ["autotools"]
|
||||
libc = "0.2"
|
||||
|
||||
[build-dependencies]
|
||||
autotools = {version = "0.2", optional = true}
|
||||
cmake = {version = "0.1", optional = true}
|
||||
autotools = { version = "0.2", optional = true }
|
||||
cmake = { version = "0.1", optional = true }
|
||||
|
||||
@@ -12,12 +12,11 @@ This crate is for use cases in which developers need to integrate [`bdwgc`][bdwg
|
||||
|
||||
See [`examples`](examples) directory.
|
||||
|
||||
By default [`bdwgc`][bdwgc] is built with autotools. To build with cmake enable the `cmake` feature in `Cargo.toml`:
|
||||
By default [`bdwgc`][bdwgc] is built with autotools. To build with cmake, enable the `cmake` feature:
|
||||
|
||||
[dependencies.bdwgc-alloc]
|
||||
version = "0.4"
|
||||
default-features = false
|
||||
features = ["cmake"]
|
||||
```sh
|
||||
cargo build --no-default-features --features cmake
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user