Skip to content

Commit d370161

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 d370161

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,37 @@ 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+
rm rust-toolchain.toml
99+
rustup install 1.74
100+
rustup target add x86_64-unknown-uefi
101+
102+
- name: Build library (Linux)
103+
run: cargo build -p framework_lib
104+
105+
- name: Build Linux tool
106+
run: cargo build -p framework_tool
107+
108+
- name: Check if Linux tool can start
109+
run: cargo run -- --help
110+
111+
- name: Build UEFI application (no ESP)
112+
run: make -C framework_uefi build/x86_64-unknown-uefi/boot.efi
113+
83114
build-windows:
84115
name: Build Windows
85116
runs-on: windows-2022

0 commit comments

Comments
 (0)