From e27f6ecc031eee76feb6d9a4522503f1923129c0 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Wed, 18 Dec 2024 15:39:11 +0300 Subject: [PATCH] ci: test UEFI with `std` (#567) Additionally disables build for `x86_64-unknown-l4re-uclibc` since its `std` is currently broken. --- .github/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 759f8414..4a251776 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -165,14 +165,13 @@ jobs: - name: Build run: cargo build --target ${{ matrix.target.target }} ${{ matrix.feature.feature }} -Zbuild-std=${{ matrix.feature.build-std }} - rdrand: - name: RDRAND + rdrand-uefi: + name: RDRAND UEFI runs-on: ubuntu-24.04 strategy: matrix: target: [ x86_64-unknown-uefi, - x86_64-unknown-l4re-uclibc, i686-unknown-uefi, ] steps: @@ -184,6 +183,9 @@ jobs: - env: RUSTFLAGS: -Dwarnings --cfg getrandom_backend="rdrand" run: cargo build -Z build-std=core --target=${{ matrix.target }} + - env: + RUSTFLAGS: -Dwarnings --cfg getrandom_backend="rdrand" + run: cargo build -Z build-std=std --target=${{ matrix.target }} --features std rndr: name: RNDR