Skip to content

Commit 4b7e46e

Browse files
authored
Merge pull request #2003 from hermit-os/ci-fail-fast
ci: run Uhyve, Firecracker before QEMU
2 parents 8dce533 + a034e61 commit 4b7e46e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,16 @@ jobs:
199199
if: matrix.arch == 'x86_64'
200200
- run: cargo +stable install cargo-careful
201201
if: matrix.profile == 'dev'
202+
- run: UHYVE=$CARGO_HOME/bin/uhyve cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package rusty_demo uhyve --sudo
203+
if: matrix.arch == 'x86_64'
204+
- run: UHYVE=$CARGO_HOME/bin/uhyve cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package rusty_demo --smp 4 uhyve --sudo
205+
if: matrix.arch == 'x86_64'
206+
- run: FIRECRACKER=$HOME/.local/bin/firecracker cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package rusty_demo --no-default-features firecracker --sudo
207+
if: matrix.arch == 'x86_64'
208+
- run: FIRECRACKER=$HOME/.local/bin/firecracker cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package rusty_demo --no-default-features --smp 4 firecracker --sudo
209+
if: matrix.arch == 'x86_64'
210+
- run: cargo clean
211+
working-directory: .
202212
- run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package hello_world qemu ${{ matrix.flags }}
203213
- run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package hello_world qemu ${{ matrix.flags }} --uefi
204214
if: matrix.arch == 'x86_64'
@@ -279,13 +289,3 @@ jobs:
279289
- run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package loopback qemu ${{ matrix.flags }}
280290
env:
281291
HERMIT_IP: 127.0.0.1
282-
- run: cargo clean
283-
working-directory: .
284-
- run: FIRECRACKER=$HOME/.local/bin/firecracker cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package rusty_demo --no-default-features firecracker --sudo
285-
if: matrix.arch == 'x86_64'
286-
- run: FIRECRACKER=$HOME/.local/bin/firecracker cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package rusty_demo --no-default-features --smp 4 firecracker --sudo
287-
if: matrix.arch == 'x86_64'
288-
- run: UHYVE=$CARGO_HOME/bin/uhyve cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package rusty_demo uhyve --sudo
289-
if: matrix.arch == 'x86_64'
290-
- run: UHYVE=$CARGO_HOME/bin/uhyve cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} --package rusty_demo --smp 4 uhyve --sudo
291-
if: matrix.arch == 'x86_64'

0 commit comments

Comments
 (0)