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
fix ci
authored by
tjh.dev
and committed by
Tangled
3 months ago
6985331b
7b421471
1/1
test.yml
success
4min 45s
+16
-2
1 changed file
expand all
collapse all
unified
split
.tangled
workflows
test.yml
+16
-2
.tangled/workflows/test.yml
···
6
6
7
7
dependencies:
8
8
nixpkgs:
9
9
+
- clang
10
10
+
- glibc_multi
11
11
+
- libclang
9
12
- rustup
13
13
+
- rust-bindgen
10
14
11
15
steps:
12
16
- name: Install Nightly
13
13
-
command: rustup toolchain install nightly
17
17
+
command: |
18
18
+
rustup toolchain install nightly
14
19
- name: Install toolchain
15
15
-
command: rustup +nightly target install thumbv7em-none-eabihf
20
20
+
command: |
21
21
+
rustup +nightly target install thumbv7em-none-eabihf
22
22
+
- name: Install flip-link
23
23
+
command: |
24
24
+
cargo install --locked flip-link
16
25
- name: Format Check
17
26
command: cargo fmt --check
27
27
+
- name: Build
28
28
+
command: |
29
29
+
export LIBCLANG_PATH="$(nix build nixpkgs#libclang.lib --no-link --print-out-paths)/lib"
30
30
+
export BINDGEN_EXTRA_CLANG_ARGS="-I$(nix build nixpkgs#glibc_multi.dev --no-link --print-out-paths)/include"
31
31
+
cargo build --release