Skip to content

gh-actions: Also build on MSRV (1.74) #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading