mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
github: Build from a rust toolchain matrix
So that we can run our builds against several toolchains (beta, stable, nightly). Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
4f2469e054
commit
477d924528
10
.github/workflows/build.yaml
vendored
10
.github/workflows/build.yaml
vendored
@ -6,13 +6,19 @@ jobs:
|
||||
if: github.event_name == 'pull_request'
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
rust:
|
||||
- stable
|
||||
- beta
|
||||
- nightly
|
||||
steps:
|
||||
- name: Code checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Install Rust toolchain (stable)
|
||||
- name: Install Rust toolchain (${{ matrix.rust }})
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
toolchain: ${{ matrix.rust }}
|
||||
override: true
|
||||
|
||||
- name: Build
|
||||
|
Loading…
x
Reference in New Issue
Block a user