mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-01 17:35:19 +00:00
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:
parent
863ea97213
commit
1e9956c8cb
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -26,4 +26,4 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release --target=${{ matrix.target }}
|
run: cargo build --all --release --target=${{ matrix.target }}
|
||||||
|
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -20,9 +20,9 @@ jobs:
|
|||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: x86_64-unknown-linux-musl
|
target: x86_64-unknown-linux-musl
|
||||||
- name: Build
|
- 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
|
- 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
|
- name: Strip cloud-hypervisor binaries
|
||||||
run: strip target/*/release/cloud-hypervisor
|
run: strip target/*/release/cloud-hypervisor
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user