Skip to content

Commit

Permalink
ci: Specify x86_64-unknown-uefi for clippy
Browse files Browse the repository at this point in the history
Use the correct target for clippy as unwind features and symbols are no
longer used in redox_uefi_std. Fixes:

    error: unwinding panics are not supported without std

Signed-off-by: Tim Crawford <tcrawford@system76.com>
  • Loading branch information
crawfxrd committed Jun 10, 2024
1 parent 7bfbd85 commit 3e1ab89
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand All @@ -16,10 +16,11 @@ jobs:
- name: clippy
env:
BASEDIR: "."
run: cargo clippy
run: cargo clippy --target x86_64-unknown-uefi -- -D warnings
continue-on-error: true

build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 3e1ab89

Please sign in to comment.