From 29d83c80e9ca6b6bb9e93ca8115da58ab5dcd3e5 Mon Sep 17 00:00:00 2001 From: tjh Date: Thu, 11 Dec 2025 15:52:41 +0000 Subject: [PATCH] fix ci --- .tangled/workflows/test.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.tangled/workflows/test.yml b/.tangled/workflows/test.yml index a6bf09a..06c46f3 100644 --- a/.tangled/workflows/test.yml +++ b/.tangled/workflows/test.yml @@ -6,12 +6,24 @@ engine: nixery dependencies: nixpkgs: + - clang + - glibc_multi + - libclang - rustup + - rust-bindgen steps: - name: Install Nightly - command: rustup toolchain install nightly + command: | + rustup toolchain install nightly - name: Install toolchain - command: rustup +nightly target install thumbv7em-none-eabihf - - name: Format Check - command: cargo fmt --check + command: | + rustup +nightly target install thumbv7em-none-eabihf + - name: Install flip-link + command: | + cargo install --locked flip-link + - name: Build + command: | + export LIBCLANG_PATH="$(nix build nixpkgs#libclang.lib --no-link --print-out-paths)/lib" + export BINDGEN_EXTRA_CLANG_ARGS="-I$(nix build nixpkgs#glibc_multi.dev --no-link --print-out-paths)/include" + cargo build --release -- 2.51.1.dirty