Set up cargo workspace

This commit is contained in:
Felix Krull 2019-10-31 13:37:57 +01:00 committed by Colin Walters
parent 75ab3f50cd
commit 486c60489a
2 changed files with 5 additions and 3 deletions

View File

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

View File

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