Skip to content

Commit 271590f

Browse files
Add Windows compilation to CI
The new job builds the UEFI packages on a Windows runner instead of Ubuntu. This is a somewhat minimal test (just builds for a single target, doesn't run tests or clippy), but should be enough to ensure that development on Windows (outside of WSL) is in a working state.
1 parent ee36f08 commit 271590f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/rust.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,25 @@ jobs:
226226

227227
- name: Build
228228
run: cargo xtask test-latest-release
229+
230+
windows:
231+
name: Check that the build works on a Windows target
232+
runs-on: windows-latest
233+
steps:
234+
- name: Checkout sources
235+
uses: actions/checkout@v2
236+
237+
- name: Install stable
238+
uses: actions-rs/toolchain@v1
239+
with:
240+
toolchain: stable
241+
242+
- name: Install latest nightly
243+
uses: actions-rs/toolchain@v1
244+
with:
245+
profile: minimal
246+
toolchain: nightly
247+
components: rust-src
248+
249+
- name: Build
250+
run: cargo xtask build

0 commit comments

Comments
 (0)