fix ci #6

merged
opened by tjh.dev targeting main from tjh.dev/sachy-parasite: main
Changed files
+16 -2
.tangled
workflows
+16 -2
.tangled/workflows/test.yml
··· 6 6 7 7 dependencies: 8 8 nixpkgs: 9 + - clang 10 + - glibc_multi 11 + - libclang 9 12 - rustup 13 + - rust-bindgen 10 14 11 15 steps: 12 16 - name: Install Nightly 13 - command: rustup toolchain install nightly 17 + command: | 18 + rustup toolchain install nightly 14 19 - name: Install toolchain 15 - command: rustup +nightly target install thumbv7em-none-eabihf 20 + command: | 21 + rustup +nightly target install thumbv7em-none-eabihf 22 + - name: Install flip-link 23 + command: | 24 + cargo install --locked flip-link 16 25 - name: Format Check 17 26 command: cargo fmt --check 27 + - name: Build 28 + command: | 29 + export LIBCLANG_PATH="$(nix build nixpkgs#libclang.lib --no-link --print-out-paths)/lib" 30 + export BINDGEN_EXTRA_CLANG_ARGS="-I$(nix build nixpkgs#glibc_multi.dev --no-link --print-out-paths)/include" 31 + cargo build --release