diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 627a3740f..db991eba3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,6 +22,9 @@ jobs: with: fetch-depth: 0 + - name: Install musl-gcc + run: sudo apt install -y musl-tools + - name: Install Rust toolchain (${{ matrix.rust }}) uses: actions-rs/toolchain@v1 with: diff --git a/Cargo.lock b/Cargo.lock index d52ebfeec..31b34665f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -542,6 +542,15 @@ dependencies = [ "vmm-sys-util", ] +[[package]] +name = "openssl-src" +version = "111.17.0+1.1.1m" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05d6a336abd10814198f66e2a91ccd7336611f30334119ca8ce300536666fcf4" +dependencies = [ + "cc", +] + [[package]] name = "openssl-sys" version = "0.9.72" @@ -551,6 +560,7 @@ dependencies = [ "autocfg", "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml index 1c97002d3..d5b38122b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -85,4 +85,3 @@ members = [ "vm-migration", "vm-virtio" ] -exclude = ["test_infra"] diff --git a/test_infra/Cargo.toml b/test_infra/Cargo.toml index c0358f48e..118eb95db 100644 --- a/test_infra/Cargo.toml +++ b/test_infra/Cargo.toml @@ -9,6 +9,6 @@ dirs = "3.0.1" epoll = "4.3.1" lazy_static= "1.4.0" libc = "0.2.91" -ssh2 = "0.9.1" +ssh2 = { version = "0.9.1", features = ["vendored-openssl"]} vmm-sys-util = "0.9.0" wait-timeout = "0.2.0"