mirror of
https://github.com/bdwgc/bdwgc-rust.git
synced 2026-05-29 18:08:56 -06:00
Test build on CI
This commit is contained in:
@@ -8,3 +8,6 @@ jobs:
|
|||||||
- run: git submodule update --init --recursive
|
- run: git submodule update --init --recursive
|
||||||
- run: cargo build
|
- run: cargo build
|
||||||
- run: cd examples && ./test.sh
|
- run: cd examples && ./test.sh
|
||||||
|
- run: |
|
||||||
|
git clean -dfx
|
||||||
|
cargo build --no-default-features --features cmake
|
||||||
|
|||||||
@@ -12,12 +12,11 @@ This crate is for use cases in which developers need to integrate [`bdwgc`][bdwg
|
|||||||
|
|
||||||
See [`examples`](examples) directory.
|
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]
|
```sh
|
||||||
version = "0.4"
|
cargo build --no-default-features --features cmake
|
||||||
default-features = false
|
```
|
||||||
features = ["cmake"]
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user