Firmware for the b-parasite board, but in Rust.

Use Zig and cargo-zigbuild for CI #4

closed opened by sachy.dev targeting main from ci-zig
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:usjm3ynnir6y4inkcdovrfei/sh.tangled.repo.pull/3m7oytmqmjb22
+16 -1
Diff #10
+15
.tangled/workflows/test.yml
··· 7 7 dependencies: 8 8 nixpkgs: 9 9 - rustup 10 + - stdenv 11 + - clang 12 + - libclang 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 + - name: Defmt Build 22 + command: | 23 + export LIBCLANG_PATH=$(< $(nix eval --raw nixpkgs#llvmPackages.libclang)/lib) 24 + export BINDGEN_EXTRA_CLANG_ARGS="$(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/libc-crt1-cflags) \ 25 + $(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/libc-cflags) \ 26 + $(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/cc-cflags) \ 27 + $(< $(nix eval --raw nixpkgs#stdenv.cc)/nix-support/libcxx-cxxflags) \ 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 + -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 + -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 + " 32 + cargo build --release --locked
+1 -1
Cargo.toml
··· 20 20 codegen-units = 1 21 21 22 22 [profile.release] 23 - debug = false 23 + debug = true 24 24 lto = true 25 25 opt-level = "z" 26 26 codegen-units = 1

History

12 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
closed without merging
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments
1 commit
expand
Use Zig and cargo-zigbuild for CI
1/1 failed
expand
expand 0 comments