From 3adc49a4938367aacb676c5d6742dea56f8ad5d9 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 | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.tangled/workflows/test.yml b/.tangled/workflows/test.yml index a6bf09a..a668509 100644 --- a/.tangled/workflows/test.yml +++ b/.tangled/workflows/test.yml @@ -6,12 +6,26 @@ 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 + command: | + rustup +nightly target install thumbv7em-none-eabihf + - name: Install flip-link + command: | + cargo install --locked flip-link - name: Format Check command: cargo fmt --check + - 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