1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-11-12 11:08:08 -05:00
8: Move to workspace builds r=bspeice a=bspeice

Sharing `target/` dir between projects should dramatically improve build times.

Co-authored-by: Bradlee Speice <bradlee@speice.io>
This commit is contained in:
bors[bot] 2019-10-08 03:28:07 +00:00 committed by GitHub
commit bd21db1981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 42 additions and 25 deletions

View File

@ -15,13 +15,21 @@ before_script:
- rustup component add rustfmt
script:
- cd aeron_driver-sys
- cargo test --no-run
- cargo test
- cargo test --release --no-run
- cargo test --release
- cd aeron_driver-sys/
- cargo test --features "static"
- cd ..
- cargo test
- cargo test --release
- cargo clippy --all
- cargo fmt --all -- --check
branches:
only:
- master
- staging
- trying

View File

@ -1,22 +1,5 @@
[package]
name = "aeron-rs"
version = "0.1.0"
authors = ["Bradlee Speice <bradlee@speice.io>"]
edition = "2018"
repository = "https://github.com/bspeice/aeron-rs"
readme = "README.md"
license = "Apache-2.0"
[badges]
travis-ci = { repository = "bspeice/aeron-rs", branch = "master" }
maintenance = { status = "actively-developed" }
[dependencies]
aeron_driver-sys = { path = "./aeron_driver-sys" }
memmap = "0.7"
num = "0.2"
[dev-dependencies]
clap = "2.33"
ctrlc = "3.1.3"
tempfile = "3.1"
[workspace]
members = [
"aeron_driver-sys",
"aeron-rs"
]

22
aeron-rs/Cargo.toml Normal file
View File

@ -0,0 +1,22 @@
[package]
name = "aeron-rs"
version = "0.1.0"
authors = ["Bradlee Speice <bradlee@speice.io>"]
edition = "2018"
repository = "https://github.com/bspeice/aeron-rs"
readme = "README.md"
license = "Apache-2.0"
[badges]
travis-ci = { repository = "bspeice/aeron-rs", branch = "master" }
maintenance = { status = "actively-developed" }
[dependencies]
aeron_driver-sys = { path = "../aeron_driver-sys" }
memmap = "0.7"
num = "0.2"
[dev-dependencies]
clap = "2.33"
ctrlc = "3.1.3"
tempfile = "3.1"

4
bors.toml Normal file
View File

@ -0,0 +1,4 @@
status = [
"continuous-integration/travis-ci/push",
]
delete_merged_branches = true