Add RISC-V build CI

This commit is contained in:
Zejun Zhao
2025-04-06 21:26:16 +08:00
committed by Tate, Hongliang Tian
parent 3aa1079ca6
commit 1c881d30f6
7 changed files with 48 additions and 11 deletions

View File

@ -34,7 +34,6 @@ cpio-decoder = { path = "libs/cpio-decoder" }
intrusive-collections = "0.9.5"
paste = "1.0"
time = { version = "0.3", default-features = false, features = ["alloc"] }
tdx-guest = { version = "0.2.1", optional = true }
# parse elf file
xmas-elf = "0.8.0"
@ -62,6 +61,9 @@ cfg-if = "1.0"
# TODO: fork this crate to rewrite all the (unnecessary) unsafe usage
fixed = "1.28.0"
[target.x86_64-unknown-none.dependencies]
tdx-guest = { version = "0.2.1", optional = true }
[target.riscv64gc-unknown-none-elf.dependencies]
riscv = { version = "0.11.1", features = ["s-mode"] }