Skip to content

Commit 9a59034

Browse files
committed
gh-actions: Also build on MSRV (1.74)
If it's not tested on CI, it might break. Signed-off-by: Daniel Schaefer <[email protected]>
1 parent f73981d commit 9a59034

File tree

2 files changed

+30
-5
lines changed

2 files changed

+30
-5
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,36 @@ jobs:
8080
- name: Build ESP (Linux)
8181
run: make -C framework_uefi
8282

83+
build-msrv:
84+
name: Build MSRV for Linux and UEFI
85+
runs-on: ubuntu-24.04
86+
env:
87+
CARGO_NET_GIT_FETCH_WITH_CLI: true
88+
steps:
89+
- uses: actions/checkout@v4
90+
91+
- name: Install dependencies
92+
run: |
93+
sudo apt-get update
94+
sudo apt-get install -y libudev-dev
95+
96+
- name: Setup Rust toolchain
97+
run: |
98+
rustup install 1.74
99+
rm rust-toolchain.toml
100+
101+
- name: Build library (Linux)
102+
run: cargo build -p framework_lib
103+
104+
- name: Build Linux tool
105+
run: cargo build -p framework_tool
106+
107+
- name: Check if Linux tool can start
108+
run: cargo run -- --help
109+
110+
- name: Build UEFI application (no ESP)
111+
run: make -C framework_uefi build/x86_64-unknown-uefi/boot.efi
112+
83113
build-windows:
84114
name: Build Windows
85115
runs-on: windows-2022

rust-toolchain.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)