build: github: Prepare for splitting binaries by building all binaries

In preparation for splitting the binaries into their own crates start
building all the binaries in the workspace when doing a build as part of
the GitHub actions.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-07-03 15:03:28 +01:00 committed by Samuel Ortiz
parent 863ea97213
commit 1e9956c8cb
2 changed files with 3 additions and 3 deletions

View File

@ -26,4 +26,4 @@ jobs:
override: true
- name: Build
run: cargo build --release --target=${{ matrix.target }}
run: cargo build --all --release --target=${{ matrix.target }}

View File

@ -20,9 +20,9 @@ jobs:
toolchain: stable
target: x86_64-unknown-linux-musl
- name: Build
run: cargo build --release --target=x86_64-unknown-linux-gnu
run: cargo build --all --release --target=x86_64-unknown-linux-gnu
- name: Static Build
run: cargo build --release --target=x86_64-unknown-linux-musl
run: cargo build --all --release --target=x86_64-unknown-linux-musl
- name: Strip cloud-hypervisor binaries
run: strip target/*/release/cloud-hypervisor
- name: Create Release