mirror of
https://github.com/containers/youki
synced 2024-05-28 02:16:09 +02:00
289e71f73d
Signed-off-by: Silcet <camorga1@gmail.com>
19 lines
616 B
Bash
Executable File
19 lines
616 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
# Build the different features individually
|
|
cargo build --no-default-features -F v1
|
|
cargo build --no-default-features -F v2
|
|
cargo build --no-default-features -F systemd
|
|
cargo build --no-default-features -F v2 -F cgroupsv2_devices
|
|
cargo build --no-default-features -F systemd -F cgroupsv2_devices
|
|
|
|
# Test the different features individually
|
|
cargo test --no-default-features -F v1
|
|
cargo test --no-default-features -F v2
|
|
cargo test --no-default-features -F systemd
|
|
cargo test --no-default-features -F v2 -F cgroupsv2_devices
|
|
cargo test --no-default-features -F systemd -F cgroupsv2_devices
|
|
|
|
exit 0 |