build(deps): Bump rust-toolchain from nightly-2026-08-01 to nightly-2026-08-31 #10927
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| merge_group: | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| RUSTFLAGS: -Dwarnings | |
| RUSTDOCFLAGS: -Dwarnings | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| cargo-deny: | |
| runs-on: ubuntu-26.04 | |
| strategy: | |
| matrix: | |
| checks: | |
| - advisories | |
| - bans licenses sources | |
| # Prevent sudden announcement of a new advisory from failing ci: | |
| continue-on-error: ${{ matrix.checks == 'advisories' }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: EmbarkStudios/cargo-deny-action@v2 | |
| with: | |
| command: check ${{ matrix.checks }} | |
| clippy: | |
| name: Clippy | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: taiki-e/install-action@v2 | |
| with: | |
| tool: cargo-hack | |
| - uses: mkroening/rust-toolchain-toml@main | |
| - run: rustup target add x86_64-unknown-none aarch64-unknown-none-softfloat riscv64gc-unknown-none-elf | |
| - run: rustup component add clippy | |
| - name: cargo clippy | |
| run: | | |
| cargo clippy --features tcp,virtio-console,virtio-fs,virtio-net,virtio-rng,virtio-vsock,vga --target x86_64-unknown-none --all-targets | |
| cargo clippy --features tcp,virtio-console,virtio-fs,virtio-net,virtio-rng,virtio-vsock,vga --target x86_64-unknown-none --no-default-features | |
| cargo clippy --features tcp,virtio-console,virtio-fs,virtio-net,virtio-rng,virtio-vsock,vga --target aarch64-unknown-none-softfloat --all-targets | |
| cargo clippy --features tcp,virtio-console,virtio-fs,virtio-net,virtio-rng,virtio-vsock,vga --target aarch64-unknown-none-softfloat --no-default-features | |
| cargo clippy --features tcp,virtio-console,virtio-fs,virtio-net,virtio-rng,virtio-vsock,vga --target riscv64gc-unknown-none-elf --all-targets | |
| cargo clippy --features tcp,virtio-console,virtio-fs,virtio-net,virtio-rng,virtio-vsock,vga --target riscv64gc-unknown-none-elf --no-default-features | |
| - name: cargo clippy (hermit-builtins) | |
| run: cargo clippy --target x86_64-unknown-hermit -Zbuild-std=core | |
| working-directory: hermit-builtins | |
| - run: cargo clippy --package xtask | |
| - name: cargo hack clippy (x86_64) | |
| run: | | |
| cargo hack clippy --each-feature --no-dev-deps --target x86_64-unknown-none --exclude-features dhcpv4,dns,gem-net,net,rtl8139,virtio-net | |
| cargo hack clippy --each-feature --no-dev-deps --target x86_64-unknown-none --exclude-features dhcpv4,dns,gem-net,net,rtl8139,virtio-net --features pci | |
| cargo hack clippy --each-feature --no-dev-deps --target x86_64-unknown-none --exclude-features gem-net,rtl8139 --features tcp,virtio-net | |
| cargo hack clippy --each-feature --no-dev-deps --target x86_64-unknown-none --exclude-features gem-net,rtl8139 --features pci,tcp,virtio-net | |
| cargo hack clippy --each-feature --no-dev-deps --target x86_64-unknown-none --exclude-features gem-net,virtio-net --features tcp,rtl8139 | |
| cargo hack clippy --each-feature --no-dev-deps --target x86_64-unknown-none --exclude-features gem-net,virtio-net --features pci,tcp,rtl8139 | |
| - name: cargo hack clippy (aarch64) | |
| run: | | |
| cargo hack clippy --each-feature --no-dev-deps --target aarch64-unknown-none-softfloat --exclude-features dhcpv4,dns,gem-net,net,rtl8139,virtio-net | |
| cargo hack clippy --each-feature --no-dev-deps --target aarch64-unknown-none-softfloat --exclude-features dhcpv4,dns,gem-net,net,rtl8139,virtio-net --features pci | |
| cargo hack clippy --each-feature --no-dev-deps --target aarch64-unknown-none-softfloat --exclude-features gem-net,rtl8139 --features tcp,virtio-net | |
| cargo hack clippy --each-feature --no-dev-deps --target aarch64-unknown-none-softfloat --exclude-features gem-net,rtl8139 --features pci,tcp,virtio-net | |
| cargo hack clippy --each-feature --no-dev-deps --target aarch64-unknown-none-softfloat --exclude-features gem-net,virtio-net --features tcp,rtl8139 | |
| cargo hack clippy --each-feature --no-dev-deps --target aarch64-unknown-none-softfloat --exclude-features gem-net,virtio-net --features pci,tcp,rtl8139 | |
| - name: cargo hack clippy (riscv64) | |
| run: | | |
| cargo hack clippy --each-feature --no-dev-deps --target riscv64gc-unknown-none-elf --exclude-features dhcpv4,dns,gem-net,net,rtl8139,virtio-net | |
| cargo hack clippy --each-feature --no-dev-deps --target riscv64gc-unknown-none-elf --exclude-features dhcpv4,dns,gem-net,net,rtl8139,virtio-net --features pci | |
| cargo hack clippy --each-feature --no-dev-deps --target riscv64gc-unknown-none-elf --exclude-features gem-net,rtl8139 --features tcp,virtio-net | |
| cargo hack clippy --each-feature --no-dev-deps --target riscv64gc-unknown-none-elf --exclude-features gem-net,rtl8139 --features pci,tcp,virtio-net | |
| cargo hack clippy --each-feature --no-dev-deps --target riscv64gc-unknown-none-elf --exclude-features rtl8139,virtio-net --features tcp,gem-net | |
| cargo hack clippy --each-feature --no-dev-deps --target riscv64gc-unknown-none-elf --exclude-features rtl8139,virtio-net --features pci,tcp,gem-net | |
| format: | |
| name: Format | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: mkroening/rust-toolchain-toml@main | |
| - run: rustup component add rustfmt | |
| - run: | | |
| cargo fmt --all --check | |
| cargo fmt --all --check --manifest-path hermit-builtins/Cargo.toml | |
| lock-file: | |
| name: Lock file | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: mkroening/rust-toolchain-toml@main | |
| - run: cargo update -w --locked | |
| - run: cargo update -w --locked --manifest-path hermit-builtins/Cargo.toml | |
| machete: | |
| name: Machete | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: mkroening/rust-toolchain-toml@main | |
| - uses: taiki-e/install-action@v2 | |
| with: | |
| tool: cargo-machete | |
| - run: cargo machete | |
| typos: | |
| name: Typos | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: crate-ci/typos@master | |
| doc: | |
| name: Doc | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: mkroening/rust-toolchain-toml@main | |
| - run: cargo xtask doc | |
| build: | |
| name: Build | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: mkroening/rust-toolchain-toml@main | |
| - name: Build minimal kernel | |
| run: | | |
| cargo xtask build --arch x86_64 --no-default-features | |
| cargo xtask build --arch aarch64 --no-default-features | |
| cargo xtask build --arch aarch64_be --no-default-features | |
| test: | |
| name: Test | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install QEMU | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install --no-install-recommends qemu-system-x86-hwe | |
| - uses: mkroening/rust-toolchain-toml@main | |
| - name: Unit tests | |
| run: cargo test --lib | |
| env: | |
| RUSTFLAGS: -Awarnings | |
| - name: Macro unit tests | |
| run: cargo test --package hermit-macro | |
| - name: Download loader | |
| run: gh release download --repo hermit-os/loader --pattern hermit-loader-x86_64-multiboot | |
| - run: rustup target add x86_64-unknown-none | |
| - name: Integration tests | |
| run: cargo test --tests --no-fail-fast --target x86_64-unknown-none -- --bootloader_path=hermit-loader-x86_64-multiboot | |
| env: | |
| RUSTFLAGS: | |
| run-hermit: | |
| name: Run | |
| runs-on: ${{ (matrix.arch == 'aarch64' || matrix.arch == 'aarch64_be') && 'ubuntu-26.04-arm' || 'ubuntu-26.04' }} | |
| env: | |
| HERMIT_CAREFUL: ${{ matrix.hermit-careful }} | |
| defaults: | |
| run: | |
| working-directory: kernel | |
| strategy: | |
| matrix: | |
| arch: [x86_64, aarch64, aarch64_be, riscv64] | |
| profile: [dev, release] | |
| include: | |
| - profile: dev | |
| hermit-careful: 1 | |
| - arch: x86_64 | |
| packages: qemu-system-x86-hwe uftrace | |
| qemu_flags: --accel --sudo | |
| rs_flags: --features hermit/loader | |
| - arch: aarch64 | |
| packages: qemu-system-arm-hwe | |
| rs_flags: --features hermit/loader,hermit/semihosting | |
| # FIXME: enable semihosting once it works with QEMU | |
| # See https://github.com/taiki-e/semihosting/issues/18. | |
| - arch: aarch64_be | |
| packages: qemu-system-arm-hwe | |
| rs_flags: --features hermit/loader | |
| - arch: riscv64 | |
| packages: qemu-system-riscv-hwe | |
| rs_flags: --features hermit/loader,hermit/semihosting | |
| steps: | |
| - name: Checkout hermit-rs | |
| uses: actions/checkout@v7 | |
| with: | |
| repository: hermit-os/hermit-rs | |
| - name: Checkout hermit-kernel | |
| uses: actions/checkout@v7 | |
| with: | |
| path: kernel | |
| - name: Install QEMU | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install --no-install-recommends ipxe-qemu libcap-ng-dev libseccomp-dev ${{ matrix.packages }} | |
| - uses: dtolnay/rust-toolchain@stable | |
| - uses: mkroening/rust-toolchain-toml@main | |
| - run: rustup component add llvm-tools | |
| working-directory: . | |
| - run: rustup target add wasm32-wasip1 | |
| working-directory: . | |
| - uses: mkroening/rust-toolchain-toml@main | |
| with: | |
| toolchain-file: "kernel/rust-toolchain.toml" | |
| - name: Download loader | |
| run: gh release download --repo hermit-os/loader --pattern 'hermit-loader-${{ matrix.arch }}*' | |
| - name: Install Firecracker | |
| run: | | |
| gh release download --repo firecracker-microvm/firecracker v1.12.0 --pattern "firecracker-*-${{ matrix.arch }}.tgz" | |
| tar -xvf firecracker-*-${{ matrix.arch }}.tgz | |
| mkdir -p $HOME/.local/bin | |
| mv release*/firecracker-*-${{ matrix.arch }} $HOME/.local/bin/firecracker | |
| echo $HOME/.local/bin >> $GITHUB_PATH | |
| $HOME/.local/bin/firecracker --version | |
| echo "FIRECRACKER=$HOME/.local/bin/firecracker" >> "$GITHUB_ENV" | |
| if: matrix.arch == 'x86_64' | |
| - run: | | |
| cargo +stable install --locked uhyve | |
| echo "UHYVE=$CARGO_HOME/bin/uhyve" >> "$GITHUB_ENV" | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo +stable install --locked virtiofsd | |
| - uses: taiki-e/install-action@cargo-careful | |
| if: matrix.profile == 'dev' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --no-default-features firecracker --sudo | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --no-default-features --smp 4 firecracker --sudo | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --features fs,hermit/uhyve uhyve --sudo | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --features fs,hermit/uhyve --smp 4 uhyve --sudo | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo clean | |
| working-directory: . | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package hello_world qemu ${{ matrix.qemu_flags }} | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package hello_world qemu ${{ matrix.qemu_flags }} --uefi | |
| if: matrix.arch == 'x86_64' | |
| - run: | | |
| cd .. | |
| cargo build --target wasm32-wasip1 --profile release --package hello_world | |
| mkdir kernel/shared | |
| cp target/wasm32-wasip1/release/hello_world.wasm kernel/shared | |
| cd kernel | |
| cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package hermit-wasm --features fs qemu ${{ matrix.qemu_flags }} --devices virtio-fs-pci | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package stdin qemu ${{ matrix.qemu_flags }} | |
| if: matrix.arch != 'riscv64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package stdin --features hermit/virtio-console qemu ${{ matrix.qemu_flags }} --devices virtio-console-pci | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package stdin --features hermit/virtio-console --no-default-features qemu ${{ matrix.qemu_flags }} --devices virtio-console-mmio | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package hello_world --features hermit/virtio-rng,hermit/pci --no-default-features qemu ${{ matrix.qemu_flags }} --devices virtio-rng-pci | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package hello_world --features hermit/virtio-rng --no-default-features qemu ${{ matrix.qemu_flags }} --devices virtio-rng-mmio | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package thread_test --smp 4 qemu ${{ matrix.qemu_flags }} | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --features fs qemu ${{ matrix.qemu_flags }} --devices virtio-fs-pci | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --features fs --smp 4 qemu ${{ matrix.qemu_flags }} --devices virtio-fs-pci | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --features fs qemu ${{ matrix.qemu_flags }} --devices virtio-fs-pci --no-default-virtio-features | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --features fs --smp 4 qemu ${{ matrix.qemu_flags }} --devices virtio-fs-pci --no-default-virtio-features | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --no-default-features --features fs qemu ${{ matrix.qemu_flags }} --devices virtio-fs-mmio | |
| if: matrix.arch != 'aarch64_be' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo qemu ${{ matrix.qemu_flags }} | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --smp 4 qemu ${{ matrix.qemu_flags }} | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rusty_demo --smp 4 qemu ${{ matrix.qemu_flags }} --uefi | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package rftrace-example qemu ${{ matrix.qemu_flags }} --devices virtio-fs-pci | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo clean | |
| working-directory: . | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package vsock qemu ${{ matrix.qemu_flags }} --sudo --devices virtio-vsock-pci | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package vsock --no-default-features qemu ${{ matrix.qemu_flags }} --sudo --devices virtio-vsock-mmio | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package vsock --features client qemu ${{ matrix.qemu_flags }} --sudo --devices virtio-vsock-pci | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package vsock --features client --no-default-features qemu ${{ matrix.qemu_flags }} --sudo --devices virtio-vsock-mmio | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package httpd --features ci,hermit/dhcpv4,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-pci | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package httpd --features ci,hermit/dhcpv4,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-pci | |
| env: | |
| # The buffer is sized to be smaller than the packets received during DHCPv4 address acquisition and thus exercise the buffer merging code path. | |
| HERMIT_MRG_RXBUF_SIZE: 200 | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package httpd --features ci,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --sudo --devices virtio-net-pci --tap | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package httpd --features ci,hermit/dhcpv4,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-pci --no-default-virtio-features | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package httpd --features ci,hermit/dhcpv4,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-pci --pci-e | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package httpd --features ci,hermit/dhcpv4,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-pci --uefi | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package httpd --features ci,hermit/dhcpv4,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-pci --uefi --pci-e | |
| if: matrix.arch == 'x86_64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package httpd --no-default-features --features ci,hermit/dhcpv4,hermit/tcp,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-mmio | |
| if: matrix.arch == 'x86_64' || matrix.arch == 'riscv64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package httpd --features ci,hermit/dhcpv4,hermit/rtl8139 qemu ${{ matrix.qemu_flags }} --devices rtl8139 | |
| if: matrix.arch != 'riscv64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package httpd --no-default-features --features ci,hermit/dhcpv4,hermit/tcp,hermit/gem-net qemu ${{ matrix.qemu_flags }} --devices cadence-gem | |
| if: matrix.arch == 'riscv64' | |
| - run: cargo clean | |
| working-directory: . | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package testudp --features hermit/udp,hermit/dhcpv4,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-pci | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package testudp --features hermit/udp,hermit/dhcpv4,hermit/rtl8139 qemu ${{ matrix.qemu_flags }} --devices rtl8139 | |
| if: matrix.arch != 'riscv64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package testudp --no-default-features --features hermit/udp,hermit/dhcpv4,hermit/gem-net qemu ${{ matrix.qemu_flags }} --devices cadence-gem | |
| if: matrix.arch == 'riscv64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package miotcp --features hermit/dhcpv4,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-pci | |
| if: matrix.arch != 'riscv64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package miotcp --features hermit/dhcpv4,hermit/rtl8139 qemu ${{ matrix.qemu_flags }} --devices rtl8139 | |
| if: matrix.arch != 'riscv64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package miotcp --no-default-features --features hermit/dhcpv4,hermit/tcp,hermit/gem-net qemu ${{ matrix.qemu_flags }} --devices cadence-gem | |
| if: matrix.arch == 'riscv64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package poll --features hermit/dhcpv4,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-pci | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package poll --features hermit/dhcpv4,hermit/rtl8139 qemu ${{ matrix.qemu_flags }} --devices rtl8139 | |
| if: matrix.arch != 'riscv64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package mioudp --features hermit/udp,hermit/dhcpv4,hermit/virtio-net qemu ${{ matrix.qemu_flags }} --devices virtio-net-pci | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package mioudp --features hermit/udp,hermit/dhcpv4,hermit/rtl8139 qemu ${{ matrix.qemu_flags }} --devices rtl8139 | |
| if: matrix.arch != 'riscv64' | |
| - run: cargo xtask ci rs --arch ${{ matrix.arch }} --profile ${{ matrix.profile }} ${{ matrix.rs_flags }} --package loopback qemu ${{ matrix.qemu_flags }} | |
| env: | |
| HERMIT_IP: 127.0.0.1 |