Set up cargo workspace
This commit is contained in:
parent
75ab3f50cd
commit
486c60489a
|
|
@ -35,13 +35,12 @@ build_all-features:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- cargo clippy --all --features ${OSTREE_VERSION},futures -- -D warnings
|
- cargo clippy --all --features ${OSTREE_VERSION},futures -- -D warnings
|
||||||
- cargo test --verbose --manifest-path sys/Cargo.toml --features ${OSTREE_VERSION}
|
- cargo test --verbose --all --features ${OSTREE_VERSION},futures
|
||||||
- cargo test --verbose --features ${OSTREE_VERSION},futures
|
|
||||||
|
|
||||||
build_default-features:
|
build_default-features:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- cargo test --verbose
|
- cargo test --verbose --all
|
||||||
|
|
||||||
# docs
|
# docs
|
||||||
docs:
|
docs:
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,9 @@ repository = "fkrull/ostree-rs"
|
||||||
[lib]
|
[lib]
|
||||||
name = "ostree"
|
name = "ostree"
|
||||||
|
|
||||||
|
[workspace]
|
||||||
|
members = ["sys"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
bitflags = "1"
|
bitflags = "1"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue