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
07bd05db
7b421471
0/1
test.yml
failed
3m 52s
+14
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
test.yml
+14
.tangled/workflows/test.yml
reviewed
···
7
7
dependencies:
8
8
nixpkgs:
9
9
- rustup
10
10
+
- clang
11
11
+
- stdenv
10
12
11
13
steps:
12
14
- name: Install Nightly
···
15
17
command: rustup +nightly target install thumbv7em-none-eabihf
16
18
- name: Format Check
17
19
command: cargo fmt --check
20
20
+
- name: Build Check
21
21
+
command: |
22
22
+
export LIBCLANG_PATH="$(< $(nix eval --raw nixpkgs#clang.cc)/lib)"
23
23
+
export BINDGEN_EXTRA_CLANG_ARGS="$(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/libc-crt1-cflags) \
24
24
+
$(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/libc-cflags) \
25
25
+
$(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/cc-cflags) \
26
26
+
$(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/libcxx-cxxflags) \
27
27
+
-isystem $(nix eval --raw nixpkgs#stdenv.cc.cc)/include/c++/$(nix eval --raw nixpkgs#stdenv.cc.cc --apply '(builtins.getFlake "nixpkgs").lib.getVersion' --impure) \
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)/$(nix eval --raw nixpkgs#stdenv.hostPlatform.config) \
29
29
+
-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 \
30
30
+
"
31
31
+
cargo build --release