From d370161c8edefd22dd104a6ed2b17ed8974ef2f9 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Mon, 5 May 2025 11:07:12 +0800 Subject: [PATCH] gh-actions: Also build on MSRV (1.74) If it's not tested on CI, it might break. Signed-off-by: Daniel Schaefer --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92f5299d..668399a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,6 +80,37 @@ jobs: - name: Build ESP (Linux) run: make -C framework_uefi + build-msrv: + name: Build MSRV for Linux and UEFI + runs-on: ubuntu-24.04 + env: + CARGO_NET_GIT_FETCH_WITH_CLI: true + steps: + - uses: actions/checkout@v4 + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y libudev-dev + + - name: Setup Rust toolchain + run: | + rm rust-toolchain.toml + rustup install 1.74 + rustup target add x86_64-unknown-uefi + + - name: Build library (Linux) + run: cargo build -p framework_lib + + - name: Build Linux tool + run: cargo build -p framework_tool + + - name: Check if Linux tool can start + run: cargo run -- --help + + - name: Build UEFI application (no ESP) + run: make -C framework_uefi build/x86_64-unknown-uefi/boot.efi + build-windows: name: Build Windows runs-on: windows-2022