tangled
alpha
login
or
join now
sachy.dev
/
sachy-parasite
1
fork
atom
Firmware for the b-parasite board, but in Rust.
1
fork
atom
overview
issues
pulls
pipelines
Attempt at rust-bindgen fixed CI v2
sachy.dev
3 months ago
ac15c021
7b421471
0/1
test.yml
failed
3min 45s
+15
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
test.yml
+15
.tangled/workflows/test.yml
···
7
7
dependencies:
8
8
nixpkgs:
9
9
- rustup
10
10
+
- clang
11
11
+
- libclang
12
12
+
- stdenv
10
13
11
14
steps:
12
15
- name: Install Nightly
···
15
18
command: rustup +nightly target install thumbv7em-none-eabihf
16
19
- name: Format Check
17
20
command: cargo fmt --check
21
21
+
- name: Build Check
22
22
+
command: |
23
23
+
export LIBCLANG_PATH="$(< $(nix eval --raw nixpkgs#libclang.lib)/lib)"
24
24
+
export BINDGEN_EXTRA_CLANG_ARGS="$(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/libc-crt1-cflags) \
25
25
+
$(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/libc-cflags) \
26
26
+
$(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/cc-cflags) \
27
27
+
$(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/libcxx-cxxflags) \
28
28
+
-isystem $(nix eval --raw nixpkgs#stdenv.cc.cc)/include/c++/$(nix eval --raw nixpkgs#stdenv.cc.cc --apply '(builtins.getFlake "nixpkgs").lib.getVersion' --impure) \
29
29
+
-isystem $(nix eval --raw nixpkgs#stdenv.cc.cc)/include/c++/$(nix eval --raw nixpkgs#stdenv.cc.cc --apply '(builtins.getFlake "nixpkgs").lib.getVersion' --impure)/$(nix eval --raw nixpkgs#stdenv.hostPlatform.config) \
30
30
+
-idirafter $(nix eval --raw nixpkgs#stdenv.cc.cc)/lib/gcc/$(nix eval --raw nixpkgs#stdenv.hostPlatform.config)/$(nix eval --raw nixpkgs#stdenv.cc.cc --apply '(builtins.getFlake "nixpkgs").lib.getVersion' --impure)/include \
31
31
+
"
32
32
+
cargo build --release