mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-12 15:42:57 +00:00
f6d1a9d9b8
Create vhost-user-net backend with Tap interface, to offload network transaction from cloud-hypervisor. The goal is to provide flexibility about the backend being in use, but also more security as it will allow users to isolate the backend with different security profiles since it will run as a dedicated process on the host. Signed-off-by: Cathy Zhang <cathy.zhang@intel.com> Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
language: rust
|
|
|
|
rust:
|
|
- stable
|
|
|
|
before_script:
|
|
- rustup component add clippy
|
|
- rustup component add rustfmt
|
|
|
|
script:
|
|
- cargo rustc --bin cloud-hypervisor -- -D warnings
|
|
- cargo rustc --bin cloud-hypervisor --no-default-features --features "pci" -- -D warnings
|
|
- cargo rustc --bin cloud-hypervisor --no-default-features --features "pci,acpi" -- -D warnings
|
|
- cargo rustc --bin cloud-hypervisor --no-default-features --features "mmio" -- -D warnings
|
|
- cargo rustc --bin vhost_user_net -- -D warnings
|
|
- cargo rustc --bin vhost_user_net --no-default-features --features "pci" -- -D warnings
|
|
- cargo rustc --bin vhost_user_net --no-default-features --features "pci,acpi" -- -D warnings
|
|
- cargo rustc --bin vhost_user_net --no-default-features --features "mmio" -- -D warnings
|
|
- cargo test
|
|
- cargo clippy --all-targets --all-features -- -D warnings
|
|
- find . -name "*.rs" | xargs rustfmt --check
|
|
|
|
deploy:
|
|
provider: releases
|
|
api_key: $GITHUB_OAUTH_TOKEN
|
|
file: target/release/cloud-hypervisor
|
|
skip_cleanup: true
|
|
draft: true
|
|
on:
|
|
tags: true
|