Skip to content

Update README.md (#43) #139

Update README.md (#43)

Update README.md (#43) #139

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
test:
runs-on: ubuntu-24.04
timeout-minutes: 7.5
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install packages (QEMU, OCI tools)
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends qemu-system-x86 skopeo umoci
- name: Install Rust (nightly)
uses: dtolnay/rust-toolchain@nightly
- name: Add required rust components
run: |
rustup component add --toolchain nightly rust-src llvm-tools-preview
rustup target add --toolchain nightly x86_64-unknown-uefi
- name: Show rustc version
run: rustc -Vv && cargo -V
- name: Cache cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Cache target
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-target-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-target-
- name: Build xtask tooling
run: cargo build -p xtask
- name: Build tests (no run)
run: cargo xtask test --no-run
- name: Run tests in QEMU (with timeout)
run: |
set -euo pipefail
timeout 5m cargo xtask test