diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5e49600ff..c4dab9e42 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,13 +28,13 @@ jobs: with: toolchain: "1.62" command: build - args: --all --release --target=x86_64-unknown-linux-gnu + args: --all --release --no-default-features --features "kvm,mshv" --target=x86_64-unknown-linux-gnu - name: Static Build uses: actions-rs/cargo@v1 with: toolchain: "1.62" command: build - args: --all --release --target=x86_64-unknown-linux-musl + args: --all --release --no-default-features --features "kvm,mshv" --target=x86_64-unknown-linux-musl - name: Strip cloud-hypervisor binaries run: strip target/*/release/cloud-hypervisor - name: Install Rust toolchain (aarch64-unknown-linux-musl)