1{ 2 "tests": [ 3 { 4 "test_name": "build-gnu-mmap", 5 "command": "cargo build --release --features=xen", 6 "platform": ["x86_64", "aarch64"] 7 }, 8 { 9 "test_name": "build-gnu-mmap-no-xen", 10 "command": "cargo build --release --features=backend-mmap", 11 "platform": ["x86_64", "aarch64"] 12 }, 13 { 14 "test_name": "build-musl-mmap", 15 "command": "cargo build --release --features=xen --target {target_platform}-unknown-linux-musl", 16 "platform": ["x86_64", "aarch64"] 17 }, 18 { 19 "test_name": "build-musl-mmap-no-xen", 20 "command": "cargo build --release --features=backend-mmap --target {target_platform}-unknown-linux-musl", 21 "platform": ["x86_64", "aarch64"] 22 }, 23 { 24 "test_name": "miri", 25 "command": "RUST_BACKTRACE=1 MIRIFLAGS='-Zmiri-disable-isolation -Zmiri-panic-on-unsupported -Zmiri-backtrace=full' cargo +nightly miri test --features backend-mmap", 26 "platform": ["x86_64", "aarch64"] 27 }, 28 { 29 "test_name": "unittests-gnu-no-xen", 30 "command": "cargo test --features 'backend-bitmap backend-mmap backend-atomic' --workspace", 31 "platform": [ 32 "x86_64", 33 "aarch64" 34 ] 35 }, 36 { 37 "test_name": "unittests-musl-no-xen", 38 "command": "cargo test --features 'backend-bitmap backend-mmap backend-atomic' --workspace --target {target_platform}-unknown-linux-musl", 39 "platform": [ 40 "x86_64", 41 "aarch64" 42 ] 43 }, 44 { 45 "test_name": "clippy-no-xen", 46 "command": "cargo clippy --workspace --bins --examples --benches --features 'backend-bitmap backend-mmap backend-atomic' --all-targets -- -D warnings -D clippy::undocumented_unsafe_blocks", 47 "platform": [ 48 "x86_64", 49 "aarch64" 50 ] 51 }, 52 { 53 "test_name": "check-warnings-no-xen", 54 "command": "RUSTFLAGS=\"-D warnings\" cargo check --all-targets --features 'backend-bitmap backend-mmap backend-atomic' --workspace", 55 "platform": [ 56 "x86_64", 57 "aarch64" 58 ] 59 } 60 ] 61} 62