Skip to content

Commit

Permalink
Attempt to fix CI compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey committed Nov 12, 2024
1 parent a913a47 commit a9b7a59
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install build dependencies
shell: bash
run: |
env && pwd && sudo apt-get update -y -qq && sudo apt-get install -y -qq llvm libc6-dev-i386 libclang-dev
env && pwd && sudo apt-get update -y -qq && sudo apt-get install -y -qq llvm libc6-dev-i386 libclang-dev libnewlib-dev
- uses: fiam/arm-none-eabi-gcc@v1
with:
release: "9-2020-q2"
Expand All @@ -35,7 +35,14 @@ jobs:
with:
submodules: true

- name: Check
- name: Check arm
if: matrix.target == 'thumbv7em-none-eabi' || matrix.target == 'thumbv6m-none-eabi'
run: |
BINDGEN_EXTRA_CLANG_ARGS='--sysroot=/usr/include/newlib' cargo check
BINDGEN_EXTRA_CLANG_ARGS='--sysroot=/usr/include/newlib' cargo check --all-features
- name: Check x64
if: matrix.target == 'x86_64-unknown-linux-gnu'
run: |
cargo check
cargo check --all-features
Expand Down

0 comments on commit a9b7a59

Please sign in to comment.